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

Correct use of random_state for xgboost #37

Merged
merged 1 commit into from
May 7, 2023
Merged

Conversation

lorenjan
Copy link
Contributor

@lorenjan lorenjan commented May 6, 2023

The seed parameter in xgboost was changed to "random_state" to match sklearn's API. This fix corrects the random state behavior and silences a warning which prints on every iteration.

The seed parameter in xgboost was changed to "random_state"
to match sklearn's API. This fix corrects the random state
behavior and silences a warning which prints on every iteration.
@codecov-commenter
Copy link

codecov-commenter commented May 7, 2023

Codecov Report

Merging #37 (7847432) into main (6e17ae0) will not change coverage.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   83.87%   83.87%           
=======================================
  Files           6        6           
  Lines         372      372           
=======================================
  Hits          312      312           
  Misses         60       60           
Impacted Files Coverage Δ
powershap/shap_wrappers/shap_explainer.py 96.79% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jvdd
Copy link
Member

jvdd commented May 7, 2023

Thx for submitting this clear PR @lorenjan

Always pleased to see the community contribute!! 🤝

@jvdd jvdd merged commit 6b54fb7 into predict-idlab:main May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants