Python の scikit-learn (load_boston モジュールによる) でボストン ハウジング データを使用しようとしたときに、次のエラー メッセージが表示されて驚きました。 ユーザーや見込み客に対してデモを行う際には、このデータを使用することは避けるべきだと思います。 JIRA チケット JMP-16844 に、Boston Housing サンプル データ テーブルを JMP から削除する必要があると入力しました。私はこのデータセットを無邪気によく使用してきました。
`load_boston` has been removed from scikit-learn since version 1.2.
The Boston housing prices dataset has an ethical problem: as
investigated in [1], the authors of this dataset engineered a
non-invertible variable "B" assuming that racial self-segregation had a
positive impact on house prices [2]. Furthermore the goal of the
research that led to the creation of this dataset was to study the
impact of air quality but it did not give adequate demonstration of the
validity of this assumption.
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.