plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

dataset is deprecated - use new one

Open Coding-with-Adam opened this issue 3 years ago • 0 comments

On this page of the plotly docs, the code under Visualize a subset of the principal components uses the Boston dataset.

A few seconds after the page loads, an error is displayed. Here's a portion of it:

/home/circleci/project/doc/venv/lib/python3.7/site-packages/sklearn/utils/deprecation.py:87: FutureWarning:

Function load_boston is deprecated; `load_boston` is deprecated in 1.0 and will be removed in 1.2.

The Boston housing prices dataset has an ethical problem. You can refer to
the documentation of this function for further details.

The scikit-learn maintainers therefore strongly discourage the use of this
dataset unless the purpose of the code is to study and educate about
ethical issues in data science and machine learning.

Coding-with-Adam avatar Jul 13 '22 16:07 Coding-with-Adam