Prediction result always be 0.000
Lirunhua opened this issue · 1 comments
Lirunhua commented
I use leaves to load my lightgbm model and predict instances, the results are always 0.00, while use python to predict, the result is not. Any one meet the problem ?
The type of feature including numerical and categorical
dmitryikh commented
Can you show your go code?
Note, that PredictSingle
will return 0.0 in case of error: https://godoc.org/github.com/dmitryikh/leaves#Ensemble.PredictSingle
Try to use, Predict
https://godoc.org/github.com/dmitryikh/leaves#Ensemble.Predict and check the error returned