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

Pin scikit-learn to 1.2.x #1326

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

morcuended
Copy link
Member

When doing a new lstchain installation, usually the sklearn version ends up being later than 1.2.x (setup.py requires =~1.2, which will install the latest 1.x version), the one used to produce existing RF models. One needs to use the same sklearn version in dl1 to dl2 as the one used to produce the models.

Need to use the same sklearn version used for producing the models as for their application
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.52%. Comparing base (9aaa78b) to head (1c80c8f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1326   +/-   ##
=======================================
  Coverage   73.52%   73.52%           
=======================================
  Files         134      134           
  Lines       14215    14215           
=======================================
  Hits        10451    10451           
  Misses       3764     3764           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@moralejo
Copy link
Collaborator

But with the change minor releases 1.2.x will not be used either, right? (is that intended?)

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.

2 participants