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

java.lang.Exception: Dataset create call failed in LightGBM with error: vector::reserve #858

Open
jaipal1995 opened this issue Apr 27, 2020 · 2 comments
Assignees
Labels
high priority high priority issues must be fixed as soon as possible

Comments

@jaipal1995
Copy link

Issue :

Hi, I am trying to use LightGBMRegressor. When I pass a dense vector to the model, it throws the error mentioned above. It's somehow related to native libraries' dependencies LightGBM is using after going into some details. How can we fix this?

I tried with the sparse-vector as well, it failed with this exception: java.lang.Exception: Dataset create call failed in LightGBM with error: The number of columns should be smaller than INT32_MAX. My feature vector is of size 80-90. So, this is a bit weird.

Info :

  • MMLSpark Version: 0.18.1 / 0.18.0 (tried both)
  • Spark Version - 2.3.1
  • LightGBM Version : 2.2.350
@jaipal1995
Copy link
Author

@mhamilton723,
Can you please provide any update on this?

@imatiach-msft
Copy link
Contributor

@jaipal1995 are you still seeing this issue with latest lightgbm upgrade on master today?

#850

There was a major fix for allocating more than max int array values per partition which was in the upgrade:

microsoft/LightGBM#2859

@imatiach-msft imatiach-msft self-assigned this May 28, 2020
@imatiach-msft imatiach-msft added the high priority high priority issues must be fixed as soon as possible label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority high priority issues must be fixed as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants