Skip to content

Conversation

celestinoxp
Copy link
Contributor

Related Issue or bug

Scikit-learn 1.3.x support
Note: Latest scikit-learn is 1.3.1, but 1.3.0 not supported because c_contiguous bug.

This change is to avoid problems with versions of Python that are no longer supported such as Python 3.7
fix bug, now accept python 3.10.x
This change is to avoid problems with versions of Python that are no longer supported such as Python 3.7
fix bug, now accept python 3.10.x
simplify version checks
i installed flake8 in vscode
some changes to support xgboost 2.0 and higher
Support scikit-learn 1.3.x
 - version 1.3.0 not supported because c_contiguous bug
- latest version is 1.3.1 should work (resolve if exist any future problems)
@celestinoxp
Copy link
Contributor Author

@tvdboom can you help with support for scikit-learn 1.3.1?
Problem in tests, custom_metric gives zero...
FAILED tests/test_classification.py::test_classification_custom_metric

I enabled Allow edits by maintainers, so you can change my pr freely :) Thanks

@celestinoxp
Copy link
Contributor Author

test_failed classification scores maybe need changes related to https://github.com/scikit-learn/scikit-learn/pull/27002/files ?

@tvdboom
Copy link
Collaborator

tvdboom commented Sep 28, 2023

@celestinoxp you are making changes related to multiple prs here. You need to make a new branch from master every time you change code for a new pr. I'm gonna close this PR since the changes here are discussed in #3749. If you want to bump the sklearn version, you can do it in that PR as well. Also if you do so, write in a comment next to the requirements file why 1.3.0 is not supported, with a link to the issue in sklearn's github. Thanks

@tvdboom tvdboom closed this Sep 28, 2023
@celestinoxp celestinoxp deleted the scikit_learn_1_3_support branch February 22, 2024 11:11
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