Inconsistent results
Hi All,
I just run below notebook
"https://github.com/awslabs/amazon-sagemaker-examples/blob/master/advanced_functionality/xgboost_bring_your_own_model/xgboost_bring_your_own_model.ipynb".
and see results
why the output of print(floatArr) and print(bt.predict_proba(point_X)) is not exactly same???
Note: I ran the above notebook with xgboost regression on my data-set with suitable modifications, for almost all test data points, outputs of regression are different in model.predict() and endpoint response with difference in the value as much as 1.94
Hi @varshney016, sorry for the late response.
What kind of data was point_X from, and how did you load that data? We recently discovered a bug in upstream XGBoost that was causing incorrect predictions on CSV data loaded into DMatrix directly from a file. This may be the cause of the differences you're seeing.
Please reopen if you're still seeing this problem.