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

[LightGBM] [Warning] Unknown parameter: data_sample_strategy #5781

Closed
simpsus opened this issue Mar 10, 2023 · 5 comments
Closed

[LightGBM] [Warning] Unknown parameter: data_sample_strategy #5781

simpsus opened this issue Mar 10, 2023 · 5 comments
Labels

Comments

@simpsus
Copy link

simpsus commented Mar 10, 2023

Description

above error message appears when I pass the parameter in the params dictionary

Reproducible example

lgb.train(params={'data_sample_stragety':'goss'},train_set=lgb.Dataset(data=np.random.rand(100,100), label=np.random.rand(100,1)))

Environment info

LightGBM version or commit hash:
python package, train api, version 3.3.5

@jameslamb
Copy link
Collaborator

data_sample_strategy was added to LightGBM in #4827, which hasn't made it into a release yet.

To take advantage of it, you'll have to build from source. You can also subscribe to notifications on #5153 to be notified when the v4.0 release goes out.

@simpsus
Copy link
Author

simpsus commented Mar 10, 2023

thank you very much. I just wonder then why it is listed in the official documentation

@jameslamb
Copy link
Collaborator

You won't find it in the docs for the latest release (v3.3.5).

https://lightgbm.readthedocs.io/en/v3.3.5/Parameters.html

That link you've shared, https://lightgbm.readthedocs.io/en/latest/Parameters.html, is built from this repo's master branch.

Sorry for the confusion.

@simpsus
Copy link
Author

simpsus commented Mar 10, 2023

My bad. I mistook the "latest" in the URL for the latest release. No idea why I am surfing that version!

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants