import numpy as npimport matplotlib.pyplot as pltX2 = data.iloc[:,6:14]y = pd.DataFrame(data.iloc[:,14])
from sklearn.preprocessingsc_X.fit_transform(X)
''
我正在用sklearn的波士顿住房数据集( 506x13矩阵)进行多元线性回归。我计划使用所有数据对其进行训练,然后“插入”boston_dataset.data[39]等随机数据,然后看到损失。import tensorflow as tfimport matplotlib.pyplot as plt
from sklearn.datasets import