Skip to content

Commit

Permalink
Merge pull request #161 from musicinmybrain/neg_max_error
Browse files Browse the repository at this point in the history
Adjust two tests for scikit-learn 1.6
  • Loading branch information
rodrigo-arenas authored Jan 25, 2025
2 parents 0e9f030 + c0b678c commit f41f555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sklearn_genetic/tests/test_feature_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_negative_criteria():
evolved_estimator = GAFeatureSelectionCV(
clf,
cv=3,
scoring="max_error",
scoring="neg_max_error",
population_size=5,
generations=generations,
tournament_size=3,
Expand Down
2 changes: 1 addition & 1 deletion sklearn_genetic/tests/test_genetic_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def test_negative_criteria():
evolved_estimator = GASearchCV(
clf,
cv=3,
scoring="max_error",
scoring="neg_max_error",
population_size=5,
generations=generations,
tournament_size=3,
Expand Down

0 comments on commit f41f555

Please sign in to comment.