automl / auto-sklearn

Automated Machine Learning with scikit-learn
https://automl.github.io/auto-sklearn
BSD 3-Clause "New" or "Revised" License
7.64k stars 1.28k forks source link

[Maint] Update test fixtures to not use Boston #1612

Open eddiebergman opened 2 years ago

eddiebergman commented 2 years ago

API Change Deprecates datasets.load_boston in 1.0 and it will be removed in 1.2. Alternative code snippets to load similar datasets are provided. Please report to the docstring of the function for details. https://github.com/scikit-learn/scikit-learn/pull/20729 by Guillaume Lemaitre.

As seen in #1611

We use load_boston for a lot of our individual component testing so this will have to be updated to some other datasets. This will come into effect with scikit learn 1.2

AmirAlavi commented 1 year ago

@eddiebergman would the diabetes dataset be a suitable replacement?

Here are the stats of the diabetes dataset:

Samples total 442
Dimensionality 10
Features real, -.2 < x < .2
Targets integer 25 - 346

In comparison to the prior Boston home prices dataset:

Samples total 506
Dimensionality 13
Features real, positive
Targets real 5. - 50.