stanfordmlgroup / ngboost

Natural Gradient Boosting for Probabilistic Prediction
Apache License 2.0
1.64k stars 215 forks source link

scikit-learn < 0.24 #226

Closed merl-dev closed 3 years ago

merl-dev commented 3 years ago

Any particular reason for this?

ryan-wolbeck commented 3 years ago

I don't believe so other than locking the version based on when this logic was created. Do you have a follow up suggestion or request?

merl-dev commented 3 years ago

I was about to make the changes and submit a pull-request, but decided to run the tests on v0.3.7 first, to be sure, and found 2 fails

tests/test_distns.py::test_dists_runs_on_examples_crpscore[learner0-LogNormal] FAILED                                                                                     [ 47%]
tests/test_distns.py::test_dists_runs_on_examples_crpscore[learner0-Exponential] PASSED                                                                                   [ 50%]
tests/test_distns.py::test_dists_runs_on_examples_crpscore[learner1-Normal] PASSED                                                                                        [ 52%]
tests/test_distns.py::test_dists_runs_on_examples_crpscore[learner1-LogNormal] FAILED                                                                                     [ 55%]

Not sure if you're aware of these. In any case, made the changes to pyproject.toml and making pull request since same errors showed up.

acturner commented 3 years ago

Any update on this - trying to use poetry to install packages that rely on sklearn >= 0.24 is currently impossible.