Skip to content

Commit 4613de1

Browse files
committed
Merge branch 'feature/fix_tutorial_notebooks' into dev
2 parents 68fd698 + 10d453e commit 4613de1

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

notebooks/RetailHero_EN.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
" <b><a href=\"https://github.com/maks-sh/scikit-uplift/\">SCIKIT-UPLIFT REPO</a> | </b>\n",
1919
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a></b>\n",
2020
" <br>\n",
21-
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/RetailHero.ipynb\">RUSSIAN VERSION</a>\n",
21+
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/RetailHero.ipynb\">RUSSIAN VERSION</a></b>\n",
2222
"</center>"
2323
]
2424
},

notebooks/pipeline_usage_EN.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
" <b><a href=\"https://github.com/maks-sh/scikit-uplift/\">SCIKIT-UPLIFT REPO</a> | </b>\n",
1616
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a></b>\n",
1717
" <br>\n",
18-
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/pipeline_usage_RU.ipynb\">RUSSIAN VERSION</a>\n",
18+
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/pipeline_usage_RU.ipynb\">RUSSIAN VERSION</a></b>\n",
1919
"\n",
2020
"</center>"
2121
]
@@ -56,7 +56,7 @@
5656
},
5757
"outputs": [],
5858
"source": [
59-
"!pip install scikit-uplift==0.1.0 xgboost"
59+
"!pip install scikit-uplift==0.1.0 xgboost category_encoders"
6060
]
6161
},
6262
{
@@ -89,10 +89,10 @@
8989
],
9090
"source": [
9191
"import urllib.request\n",
92-
"import pandas as pd; pd.set_option('display.max_columns', None)\n",
92+
"import pandas as pd\n",
9393
"\n",
9494
"\n",
95-
"csv_path = './content/Hilstorm.csv'\n",
95+
"csv_path = '/content/Hilstorm.csv'\n",
9696
"url = 'http://www.minethatdata.com/Kevin_Hillstrom_MineThatData_E-MailAnalytics_DataMiningChallenge_2008.03.20.csv'\n",
9797
"urllib.request.urlretrieve(url, csv_path)"
9898
]
@@ -369,7 +369,7 @@
369369
"cell_type": "markdown",
370370
"metadata": {},
371371
"source": [
372-
"Train pipeline as usual, but adding the treatment column in the step model as a parameter `model__treatment`."
372+
"<b>Train pipeline as usual, but adding the treatment column in the step model as a parameter `model__treatment`.</b>"
373373
]
374374
},
375375
{

notebooks/pipeline_usage_RU.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
" <b><a href=\"https://github.com/maks-sh/scikit-uplift/\">SCIKIT-UPLIFT REPO</a> | </b>\n",
1616
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a></b>\n",
1717
" <br>\n",
18-
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/pipeline_usage_EN.ipynb\">ENGLISH VERSION</a>\n",
18+
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/pipeline_usage_EN.ipynb\">ENGLISH VERSION</a></b>\n",
1919
"\n",
2020
"</center>"
2121
]
@@ -50,7 +50,7 @@
5050
},
5151
"outputs": [],
5252
"source": [
53-
"!pip install scikit-uplift==0.1.0 xgboost"
53+
"!pip install scikit-uplift==0.1.0 xgboost category_encoders"
5454
]
5555
},
5656
{
@@ -91,7 +91,7 @@
9191
"import pandas as pd\n",
9292
"\n",
9393
"\n",
94-
"csv_path = './content/Hilstorm.csv'\n",
94+
"csv_path = '/content/Hilstorm.csv'\n",
9595
"url = 'http://www.minethatdata.com/Kevin_Hillstrom_MineThatData_E-MailAnalytics_DataMiningChallenge_2008.03.20.csv'\n",
9696
"urllib.request.urlretrieve(url, csv_path)"
9797
]
@@ -373,7 +373,7 @@
373373
}
374374
},
375375
"source": [
376-
"Обучать pipeline будем как обычно, но колонку treatment добавим как параметр шага model: `model__treatment`."
376+
"<b>Обучать pipeline будем как обычно, но колонку treatment добавим как параметр шага model: `model__treatment`.</b>"
377377
]
378378
},
379379
{

0 commit comments

Comments
 (0)