File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 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 ]
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 {
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 ]
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 {
Original file line number Diff line number Diff line change 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 ]
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 {
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 ]
373373 }
374374 },
375375 "source" : [
376- " Обучать pipeline будем как обычно, но колонку treatment добавим как параметр шага model: `model__treatment`."
376+ " <b> Обучать pipeline будем как обычно, но колонку treatment добавим как параметр шага model: `model__treatment`.</b> "
377377 ]
378378 },
379379 {
You can’t perform that action at this time.
0 commit comments