Move to sklearn 0.18

main
Aurélien Geron 2016-11-05 14:26:29 +01:00
parent 6ed00af7d0
commit 5ebea6604c
1 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@
"outputs": [],
"source": [
"from sklearn.metrics import mean_squared_error\n",
"from sklearn.cross_validation import train_test_split\n",
"from sklearn.model_selection import train_test_split\n",
"\n",
"def plot_learning_curves(model, X, y):\n",
" X_train, X_val, y_train, y_val = train_test_split(X, y, test_size=0.2, random_state=10)\n",
@ -1197,7 +1197,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.1"
"version": "3.5.2"
},
"nav_menu": {},
"toc": {