Skip to content

Error during LightGBM run #2

Description

@pjsgsy

Hi,

I know this is an old project and perhaps gone away, but it was exactly what I was looking for! Downloaded the source and built it OK. Added to project and attempting to train. I added a List<List> as the training data. At the point of .Train(trainigndata), an exception occurs that states I don;t have enough rows, yet when I look at the list of the list<doubles@, they are there. List containing 30k List each 39 doubles in length.

Exception: Cannot construct Dataset since there are not useful features. It should be at least two unique rows. If the num_row (num_data) is small, you can set min_data=1 and min_data_in_bin=1 to fix this. Otherwise please make sure you are using the right dataset.

The List is definitely 30k items, and each item is a List of 39 doubles.

Am I being a complete luddite? A simple code example of usage I could not find...

Any clues?

Thanks!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions