Skip to content

Commit db64799

Browse files
authored
Merge pull request #1343 from EpistasisLab/sklearn1_4_fix
update compatibility with scikitlearn 1.4
2 parents a8f7eb0 + e00ab2c commit db64799

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
deap>=1.2
22
nose==1.3.7
33
numpy>=1.16.3
4-
scikit-learn>=1.1.3
4+
scikit-learn>=1.4.1
55
imbalanced-learn>=0.7.0
66
scipy>=1.3.1
77
tqdm>=4.36.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def calculate_version():
3737
zip_safe=True,
3838
install_requires=['numpy>=1.16.3',
3939
'scipy>=1.3.1',
40-
'scikit-learn>=1.1.3',
40+
'scikit-learn>=1.4.1',
4141
'deap>=1.2',
4242
'update_checker>=0.16',
4343
'tqdm>=4.36.1',

tpot/gp_deap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ def _wrapped_cross_val_score(sklearn_pipeline, features, target,
464464
verbose=0,
465465
parameters=None,
466466
error_score='raise',
467-
fit_params=sample_weight_dict)
467+
fit_params=sample_weight_dict,
468+
score_params=None)
468469
for train, test in cv_iter]
469470
if isinstance(scores[0], list): #scikit-learn <= 0.23.2
470471
CV_score = np.array(scores)[:, 0]

0 commit comments

Comments
 (0)