Python 2.75.
Mlx
0.17.3
Code:
scoring=make_scorer(precision_score, average='weighted')
SFSres = SFS(XGB, k_features=(5, 10),
scoring
=
scoring
)
SFSres = SFSres.fit(train_data, train_labels, fit_params={'sample_weight':weights})
Error:
fit() got an unexpected keyword argument 'fit_params'
Where is the mistake?