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

Add option Deterministic to LightGbmBinaryTrainer.Options and LightGbmMulticlassTrainer.Options #7326

Open
grzskoBgs opened this issue Nov 25, 2024 · 0 comments
Labels
enhancement New feature or request untriaged New issue has not been triaged

Comments

@grzskoBgs
Copy link

grzskoBgs commented Nov 25, 2024

Is your feature request related to a problem? Please describe.
LightGBM is known to give non-deterministic results when run with more than one thread. It affects the reproducibility of results. With version 3.3.5 of LightGBM a new parameter "deterministic" was introduced: https://lightgbm.readthedocs.io/en/v3.3.5/Parameters.html#deterministic. However, I don't see this option as available for LightGbmBinaryTrainer.Options in the latest version of ML.NET (4.0.0).

Describe the solution you'd like
The property "Deterministic" is available for LightGbmBinaryTrainer.Options and LightGbmMulticlassTrainer.Options with the same interpretation as the "deterministic" parameter of the Python LightGBM implementation.

Is it possible, what is the expected resolution time?

Describe alternatives you've considered
We were considering running LightGbmBinaryTrainer with option NumberOfThreads equal 1. However, it significantly slows down the execution time. We want to consider a built-in solution for assessing the reproducibility of results.

Additional context
No

@grzskoBgs grzskoBgs added the enhancement New feature or request label Nov 25, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

1 participant