We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code:
import ( "fmt" "github.com/dmitryikh/leaves" ) func main() { // 1. Read model useTransformation := true model, err := leaves.LGEnsembleFromFile("lightgbm_model.txt", useTransformation) if err != nil { fmt.Println(err) panic(err) } }
go build lgbuse.go, and then report an error:
go build lgbuse.go
only version=v2 is supported panic: only version=v2 is supported goroutine 1 [running]: main.main() lgbuse.go:14 +0x246 exit status 2
The line of code that cause probles: model, err := leaves.LGEnsembleFromFile("lightgbm_model.txt", useTransformation)
model, err := leaves.LGEnsembleFromFile("lightgbm_model.txt", useTransformation)
How can I solve this problem?
The text was updated successfully, but these errors were encountered:
I'm using the latest version as for now github.com/dmitryikh/leaves v0.0.0-20200503205002-939b6fa631dd and it works with v3 LightGBM model fine.
Sorry, something went wrong.
No branches or pull requests
code:
go build lgbuse.go
, and then report an error:The line of code that cause probles:
model, err := leaves.LGEnsembleFromFile("lightgbm_model.txt", useTransformation)
How can I solve this problem?
The text was updated successfully, but these errors were encountered: