# Version 0.22.0¶

In Development

## Changed models¶

The following estimators and functions, when fit with the same data and parameters, may produce different models from the previous version. This often occurs due to changes in the modelling logic (bug fixes or enhancements), or in random sampling procedures.

Details are listed in the changelog below.

(While we are trying to better inform users by providing this information, we cannot assure that this list is complete.)

## Changelog¶

### sklearn.base¶

• API Change From version 0.24 BaseEstimator.get_params will raise an AttributeError rather than return None for parameters that are in the estimator’s constructor but not stored as attributes on the instance. #14464 by Joel Nothman.

### sklearn.calibration¶

• Fix Fixed a bug that made calibration.CalibratedClassifierCV fail when given a sample_weight parameter of type list (in the case where sample_weights are not supported by the wrapped estimator). #13575 by William de Vazelhes.

### Miscellaneous¶

• API Change Replace manual checks with check_is_fitted. Errors thrown when using a non-fitted estimators are now more uniform. #13013 by Agamemnon Krasoulis.

• Fix Port lobpcg from SciPy which implement some bug fixes but only available in 1.3+. #13609 by Guillaume Lemaitre.

## Changes to estimator checks¶

These changes mostly affect library developers.

• Estimators are now expected to raise a NotFittedError if predict or transform is called before fit; previously an AttributeError or ValueError was acceptable. #13013 by by Agamemnon Krasoulis.

• Binary only classifiers are now supported in estimator checks. Such classifiers need to have the binary_only=True estimator tag. #13875 by Trevor Stephens.

• requires_positive_X estimator tag (for models that require X to be non-negative) is now used by check_estimator to make sure a proper error message is raised if X contains some negative entries. #14680 by Alex Gramfort.

• Added check that pairwise estimators raise error on non-square data #14336 by Gregory Dexter.

• Fix Added check_transformer_data_not_an_array to checks where missing