Skip to content

LightGbm System.InvalidOperationException after the latest update #5382

Description

@evo11x

System information

  • Win10/x64
  • .Net 4.8

Issue

  • It crashes in this line var model = pipeline.Fit(trainData);
  • I get this error: System.InvalidOperationException: 'LightGBM Error, code is -1, error message is 'Unknown importance type: only support split=0 and gain=1'.'

With the previous version everything worked fine and nothing was modified in my source code since it worked.

This is my gbm setting
.Append(mlContext.Regression.Trainers.LightGbm("PercentPredict", "Features",null,null,null,null,200));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions