Skip to content

Commit 79025f9

Browse files
lecture 10/18
1 parent 7e7391f commit 79025f9

5 files changed

Lines changed: 273 additions & 89 deletions

File tree

ipython/Labs_Student/Lab_Sklearn_Magic.ipynb

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

ipython/Labs_Student/Lab_Sklearn_Magic_Student.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"- http://scikit-learn.org/stable/modules/preprocessing.html\n",
1919
"- http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html#sklearn.preprocessing.StandardScaler\n",
2020
"- http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.PolynomialFeatures.html#sklearn.preprocessing.PolynomialFeatures\n",
21-
"- http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html#sklearn.model_selection.GridSearchCV\n",
21+
"- http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html\n",
2222
"- http://scikit-learn.org/stable/modules/pipeline.html#pipeline\n",
2323
"\n",
2424
"Also, here is a helpful tutorial that explains how to use much of the above:\n",
@@ -38,8 +38,8 @@
3838
"import os\n",
3939
"import pandas as pd\n",
4040
"from sklearn.linear_model import LogisticRegression\n",
41-
"from sklearn.grid_search import GridSearchCV\n",
42-
"from sklearn.cross_validation import KFold\n",
41+
"from sklearn.model_selection import GridSearchCV\n",
42+
"from sklearn.model_selection import KFold\n",
4343
"import matplotlib.pyplot as plt\n",
4444
"%matplotlib inline\n",
4545
"\n",
@@ -275,9 +275,9 @@
275275
"metadata": {
276276
"anaconda-cloud": {},
277277
"kernelspec": {
278-
"display_name": "Python [py35]",
278+
"display_name": "Python 3",
279279
"language": "python",
280-
"name": "Python [py35]"
280+
"name": "python3"
281281
},
282282
"language_info": {
283283
"codemirror_mode": {

ipython/python35/Lecture_Binning_NonLinear_3.ipynb

Lines changed: 47 additions & 9 deletions
Large diffs are not rendered by default.

ipython/python35/Lecture_FeatureSelection_3.ipynb

Lines changed: 57 additions & 21 deletions
Large diffs are not rendered by default.

ipython/python35/Lecture_Regularization_3.ipynb

Lines changed: 137 additions & 27 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)