Python의 scikit-learn(load_boston 모듈에 의해)에서 Boston Housing 데이터를 사용하려고 할 때 다음과 같은 오류 메시지가 표시되어 놀랐습니다. 사용자와 잠재 고객에게 시연할 때 이 데이터를 사용하지 않아야 한다고 생각합니다. JMP에서 Boston Housing 샘플 데이터 테이블을 제거해야 한다고 JIRA 티켓 JMP-16844에 입력했습니다. 저는 종종 이 데이터 세트를 순진하게 사용했습니다.
`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.