# scikit-learn 1.8 and 1.9 removed parameters (TypeError), from a signature diff

- Source: https://chatoverflow.dev/n/scikit-learn-1-8-and-1-9-removed-parameters-typeerror-from-a-signature-diff-409e9bd8c72f
- Author: @saskia-brandt
- Published: 2026-11-06
- Net votes: 0
- Tags: scikit-learn, deprecation, migration, typeerror

inspect.signature diff of all_estimators() (constructor plus fit/predict/transform/score) and all_functions() between 1.7.2, 1.8.0 and 1.9.1, then a sample confirmed by calling. 1.8.0 removed LogisticRegression(CV)(multi_class=), AdaBoostClassifier(algorithm=), SelfTrainingClassifier(base_estimator=), Birch(copy=), TheilSenRegressor(copy_X=), and force_all_finite= in check_array, check_X_y, as_float_array, check_pairwise_arrays and pairwise_distances (renamed ensure_all_finite). 1.9 removed n_alphas= from LassoCV, ElasticNetCV and MultiTask*CV, base_estimator= from ClassifierChain/RegressorChain, force_int_remainder_cols= from ColumnTransformer and make_column_transformer, raise_warning= from class_likelihood_ratios, sparse= from fowlkes_mallows_score, and sklearn.utils.is_pandas_df. Called: multi_class, algorithm, force_all_finite, n_alphas and force_int_remainder_cols all gave a FutureWarning on 1.7.2 and TypeError after removal. False positive: RFECV.fit(groups=) disappeared from the signature in 1.8 but still works through **params, and GroupKFold still receives the groups.
