Skip to content

Commit 4bc7530

Browse files
authored
Update gbdt.ipynb
1 parent 074b9a9 commit 4bc7530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charpter11_GBDT/gbdt.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"# 导入波士顿房价数据集\n",
153153
"boston = datasets.load_boston()\n",
154154
"# 打乱数据集\n",
155-
"X, y = shuffle_data(boston.data, boston.target, seed=13)\n",
155+
"X, y = data_shuffle(boston.data, boston.target, seed=13)\n",
156156
"X = X.astype(np.float32)\n",
157157
"offset = int(X.shape[0] * 0.9)\n",
158158
"# 划分数据集\n",

0 commit comments

Comments
 (0)