質問編集履歴
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,7 +16,6 @@
|
|
16
16
|
y_train = boston.target
|
17
17
|
model = linear_model.LinearRegression()
|
18
18
|
model.fit(rooms_train, y_train)
|
19
|
-
LinearRegression(copy_X=True, fit_intercept=True, n_jobs=1, normalize=False)
|
20
19
|
|
21
20
|
rooms_test = DataFrame(np.arange(rooms_train.min(),rooms_train.max(),0.1))
|
22
21
|
prices_test = model.predict(rooms_test)
|