You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be fixed by changing: print(predictor.predict(treelite_runtime.DMatrix(sample[features], dtype='float32')))
to print(predictor.predict(treelite_runtime.DMatrix(sample[features].to_numpy(), dtype='float32')))
My XgBoost model is giving different results after converting to a treelite model.
Minimal example:
Referenced files
model_1s_1week.booster
andsample.parquet
have been attached.files.zip
I feel like I'm probably doing something extremely basic incorrectly.
Modelled trained with the following:
Versions:
The text was updated successfully, but these errors were encountered: