【ML】基于sklearn中MLPRegressor的boston/california房价预测

项目所需的环境:

python==3.9.0
scikit-learn==1.0.2
numpy==1.22.3
matplotlib==3.5.1
1.数据集

下面我以boston数据集为例进行介绍,boston房价数据集:

from sklearn.datasets import load_boston
from sklearn.model_selection import train_test_split

# dataset
housing = load_boston()
X = housing.data
y = housing.target
print<

你可能感兴趣的:(机器学习--分类/回归预测,sklearn,python,机器学习)