Upgrading scikit-learn 0.23 to 0.24
Breaking0.23.2 → 0.24.2Platform1
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- This release works with Python 3.6, 3.7, 3.8 and 3.9.
Must act 1 item needs code or config changes
What you must change
Platform1
Supports Python versions 3.6 to 3.9.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- changed:
class CalibratedClassifierCV(BaseEstimator, ClassifierMixin, MetaEstimatorMixin) → class CalibratedClassifierCV(ClassifierMixin, MetaEstimatorMixin, BaseEstimator) - changed:
constructor CalibratedClassifierCV(base_estimator=…, *, method=…, cv=…) → constructor CalibratedClassifierCV(base_estimator=…, *, method=…, cv=…, n_jobs=…, ensemble=…)
- added:
export kmeans_plusplus
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
function pytest_collection_modifyitems(config, items) - added:
function pytest_runtest_setup(item) - added:
variable dataset_fetchers - added:
variable fetch_20newsgroups_fxt - added:
variable fetch_20newsgroups_vectorized_fxt - added:
variable fetch_california_housing_fxt - added:
variable fetch_covtype_fxt - added:
variable fetch_kddcup99_fxt - added:
variable fetch_olivetti_faces_fxt - added:
variable fetch_rcv1_fxt
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
export dict_learning
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- changed:
class LinearDiscriminantAnalysis(BaseEstimator, LinearClassifierMixin, TransformerMixin) → class LinearDiscriminantAnalysis(LinearClassifierMixin, TransformerMixin, BaseEstimator) - changed:
constructor LinearDiscriminantAnalysis(*, solver=…, shrinkage=…, priors=…, n_components=…, store_covariance=…, tol=…) → constructor LinearDiscriminantAnalysis(solver=…, shrinkage=…, priors=…, n_components=…, store_covariance=…, tol=…, covariance_estimator=…)
- removed:
property DummyClassifier.outputs_2d_ - removed:
property DummyRegressor.outputs_2d_
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- changed:
method TfidfVectorizer.transform(raw_documents, copy=…) → method TfidfVectorizer.transform(raw_documents)
- added:
export SequentialFeatureSelector
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
export partial_dependence
- removed:
variable correct_import_path - removed:
variable deprecated_path
- changed:
constructor Nystroem(kernel=…, *, gamma=…, coef0=…, degree=…, kernel_params=…, n_components=…, random_state=…) → constructor Nystroem(kernel=…, *, gamma=…, coef0=…, degree=…, kernel_params=…, n_components=…, random_state=…, n_jobs=…) - added:
class PolynomialCountSketch(BaseEstimator, TransformerMixin) - added:
constructor PolynomialCountSketch(*, gamma=…, degree=…, coef0=…, n_components=…, random_state=…) - added:
method PolynomialCountSketch.fit(X, y=…) - added:
method PolynomialCountSketch.transform(X)
- changed:
method KernelRidge.fit(X, y=…, sample_weight=…) → method KernelRidge.fit(X, y, sample_weight=…)
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
export DetCurveDisplay - added:
export det_curve - added:
export mean_absolute_percentage_error - added:
export pair_confusion_matrix - added:
export plot_det_curve - added:
export rand_score - added:
export top_k_accuracy_score
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
export pair_confusion_matrix - added:
export rand_score
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- changed:
constructor CategoricalNB(*, alpha=…, fit_prior=…, class_prior=…) → constructor CategoricalNB(*, alpha=…, fit_prior=…, class_prior=…, min_categories=…)
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- changed:
function make_pipeline(*steps, **kwargs) → function make_pipeline(*steps, memory=…, verbose=…) - changed:
function make_union(*transformers, **kwargs) → function make_union(*transformers, n_jobs=…, verbose=…)
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
export SelfTrainingClassifier
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
function safe_indexing(X, indices, *, axis=…) - changed:
function resample(*arrays, **options) → function resample(*arrays, replace=…, n_samples=…, random_state=…, stratify=…) - changed:
function shuffle(*arrays, **options) → function shuffle(*arrays, random_state=…, n_samples=…)
- removed:
class NotAnArray(_NotAnArray) - removed:
function choose_check_classifiers_labels(name, y, y_names) - removed:
function enforce_estimator_tags_y(estimator, y) - removed:
function is_public_parameter(attr) - removed:
function pairwise_estimator_convert_X(X, estimator, kernel=…) - removed:
function set_checking_parameters(estimator) - removed:
variable BOSTON - changed:
function check_sample_weights_invariance(name, estimator_orig) → function check_sample_weights_invariance(name, estimator_orig, kind=…) - added:
function check_estimator_get_tags_default_keys(name, estimator_orig) - added:
function check_methods_sample_order_invariance(name, estimator_orig) - added:
function check_n_features_in_after_fitting(name, estimator_orig) - added:
function check_transformer_preserve_dtypes(name, transformer_orig) - added:
variable REGRESSION_DATASET
- removed:
function safe_min(X)
- removed:
variable correct_import_path - removed:
variable deprecated_path
- added:
function delayed(function)
- removed:
variable correct_import_path - removed:
variable deprecated_path
- removed:
function newton_cg(grad_hess, func, grad, x0, args=…, tol=…, maxiter=…, maxinner=…, line_search=…, warn=…)
- removed:
variable correct_import_path - removed:
variable deprecated_path
- changed:
function incr_mean_variance_axis(X, *, axis, last_mean, last_var, last_n) → function incr_mean_variance_axis(X, *, axis, last_mean, last_var, last_n, weights=…) - changed:
function mean_variance_axis(X, axis) → function mean_variance_axis(X, axis, weights=…, return_sum_weights=…)
- removed:
variable correct_import_path - removed:
variable deprecated_path