Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prediction result always be 0.000 #61

Open
Lirunhua opened this issue Jun 25, 2019 · 1 comment
Open

Prediction result always be 0.000 #61

Lirunhua opened this issue Jun 25, 2019 · 1 comment

Comments

@Lirunhua
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants