Coming soon: We’re working on a brand new, revamped Community experience. Want to receive updates? Sign up now!

0 votes

I built an XGBoost model in DSS, and retrieved it using the Dataiku API inside python recipe. However, when I use the predict() function on the retrieved model object, the predicted values are not the same as they appear in the original model.

true value and predicted value in the original model object

by

1 Answer

0 votes

Hi,

The original model apply a set of preprocessing on data before doing the prediction. If you want to reproduce the result, you can use directly `my_predictor.predict()`. 

Another thing to be aware is that in the scoring recipe, for reproducebility, you should check the Force backend engine option

Cheers, 

by
1,339 questions
1,365 answers
1,558 comments
11,916 users

©Dataiku 2012-2018 - Privacy Policy