Skip to content

Compatibility with scikit-learn 1.7.1#50

Open
stratakis wants to merge 2 commits intomanuel-calzolari:masterfrom
stratakis:scikit-learn-1.7.1
Open

Compatibility with scikit-learn 1.7.1#50
stratakis wants to merge 2 commits intomanuel-calzolari:masterfrom
stratakis:scikit-learn-1.7.1

Conversation

@stratakis
Copy link

Hello,

While trying to update scikit-learn on Fedora, sklearn-genetic fail to build due to incompatibilities with the latest version (1.7.1).

This PR attempts to fix those issues. I haven't tested the functionality itself, but the tests pass and the package builds. Each commit explains why every change is needed and links to the relevant scikit-learn PRs.

If you'd like to merge this, it should ideally be done on top of #49

On scikit-learn >= 1.7, using  the liblinear solver for multiclass
classification with a one-versus-rest (ovr) scheme is deprecated.

See: scikit-learn/scikit-learn#31241
The vendored joblib was removed in favor of using the external package
in scikit-learn. Hence we should rely on the external package as well.

See: scikit-learn/scikit-learn#31105
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.

1 participant