Open Lirunhua opened 5 years ago
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
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