Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eddiebergman opened this issue Nov 15, 2022 · 1 comment
Open

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

eddiebergman opened this issue Nov 15, 2022 · 1 comment
Labels
maintenance Internal maintenance

Comments

@eddiebergman
Copy link
Contributor

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. scikit-learn/scikit-learn#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

@eddiebergman eddiebergman added the maintenance Internal maintenance label Nov 15, 2022
@AmirAlavi
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Internal maintenance
Projects
None yet
Development

No branches or pull requests

2 participants