Skip to content

Commit

Permalink
Merge branch 'hotfix/fix_nbk_vers_and_readme'
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-sh committed Jun 1, 2020
2 parents 3eef254 + bfebb53 commit accaa13
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 38 deletions.
27 changes: 13 additions & 14 deletions Readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ See the **RetailHero tutorial notebook** (`EN <https://nbviewer.jupyter.org/gith
plot_qini_curve(y_true=y_val, uplift=uplift_preds, treatment=treat_val)
.. image:: _static/images/quick_start_qini.png
.. image:: docs/_static/images/Readme_qini_curve.png
:width: 514px
:height: 400px
:alt: Example of model's qini curve, perfect qini curve and random qini curve
Expand All @@ -169,36 +169,35 @@ Contributing

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/0
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/0
:alt: 0
:alt: Top contributor 1

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/1
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/1
:alt: 1
:alt: Top contributor 2

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/2
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/2
:alt: 2
:alt: Top contributor 3

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/3
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/3
:alt: 3
:alt: Top contributor 4

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/4
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/4
:alt: 4
:alt: Top contributor 5

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/5
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/5
:alt: 5
:alt: Top contributor 6

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/4
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/4
:alt: 6

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/5
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/5
:alt: 7
.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/6
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/6
:alt: Top contributor 7

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/7
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/7
:alt: Legend

Important links
~~~~~~~~~~~~~~~
Expand Down
Binary file added docs/_static/images/Readme_qini_curve.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion docs/_templates/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
<a class="github-button" href="https://github.com/maks-sh/scikit-uplift/subscription" data-show-count="true" aria-label="Watch maks-sh/scikit-uplift on GitHub">Watch</a>
<a class="github-button" href="https://github.com/maks-sh/scikit-uplift/fork" data-show-count="true" aria-label="Fork maks-sh/scikit-uplift on GitHub">Fork</a>
</div>
{{ super() }}
{% endblock %}
6 changes: 3 additions & 3 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

## Version 0.2.0

### [User Guide](https://scikit-uplift.readthedocs.io/en/latest/user_guide.html)
### [User Guide](https://scikit-uplift.readthedocs.io/en/latest/user_guide/index.html)

* 🔥 Add [User Guide](https://scikit-uplift.readthedocs.io/en/latest/user_guide.html)
* 🔥 Add [User Guide](https://scikit-uplift.readthedocs.io/en/latest/user_guide/index.html)

### [sklift.models](https://scikit-uplift.readthedocs.io/en/latest/api/models.html)

* 💥 Add `treatment interaction` method to [SoloModel](https://scikit-uplift.readthedocs.io/en/latest/api/viz.html#sklift.models.models.SoloModel) approach by [@AdiVarma27](https://github.com/AdiVarma27).
* 💥 Add `treatment interaction` method to [SoloModel](https://scikit-uplift.readthedocs.io/en/latest/api/models/SoloModel.html) approach by [@AdiVarma27](https://github.com/AdiVarma27).

### [sklift.metrics](https://scikit-uplift.readthedocs.io/en/latest/api/metrics.html)

Expand Down
24 changes: 12 additions & 12 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,35 +64,35 @@ We welcome new contributors of all experience levels.

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/0
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/0
:alt: Contributor 0
:alt: Top contributor 1

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/1
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/1
:alt: Contributor 1
:alt: Top contributor 2

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/2
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/2
:alt: Contributor 2
:alt: Top contributor 3

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/3
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/3
:alt: Contributor 3
:alt: Top contributor 4

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/4
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/4
:alt: Contributor 4
:alt: Top contributor 5

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/5
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/5
:alt: Contributor 5
:alt: Top contributor 6

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/4
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/4
:alt: Contributor 6
.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/6
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/6
:alt: Top contributor 7

.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/5
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/5
:alt: Contributor 7
.. image:: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/images/7
:target: https://sourcerer.io/fame/maks-sh/maks-sh/scikit-uplift/links/7
:alt: Legend

.. toctree::
:hidden:
Expand Down
2 changes: 1 addition & 1 deletion notebooks/RetailHero.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"urllib.request.urlretrieve(url, '/content/retail_hero.zip')\n",
"\n",
"!unzip /content/retail_hero.zip\n",
"!pip install scikit-uplift==0.1.2 catboost=0.22"
"!pip install scikit-uplift catboost==0.22 -U"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/RetailHero_EN.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"urllib.request.urlretrieve(url, '/content/retail_hero.zip')\n",
"\n",
"!unzip /content/retail_hero.zip\n",
"!pip install scikit-uplift==0.1.2 catboost=0.22"
"!pip install scikit-uplift catboost==0.22 -U"
]
},
{
Expand Down
7 changes: 4 additions & 3 deletions notebooks/pipeline_usage_EN.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
" </a>\n",
" <br>\n",
" <b><a href=\"https://github.com/maks-sh/scikit-uplift/\">SCIKIT-UPLIFT REPO</a> | </b>\n",
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a></b>\n",
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a> | </b>\n",
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/user_guide/index.html\">USER GUIDE</a></b>\n",
" <br>\n",
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/pipeline_usage_RU.ipynb\">RUSSIAN VERSION</a></b>\n",
"\n",
Expand Down Expand Up @@ -56,7 +57,7 @@
},
"outputs": [],
"source": [
"!pip install scikit-uplift==0.1.2 xgboost==1.0.2 category_encoders==2.1.0"
"!pip install scikit-uplift xgboost==1.0.2 category_encoders==2.1.0 -U"
]
},
{
Expand All @@ -80,7 +81,7 @@
"import urllib.request\n",
"\n",
"\n",
"csv_path = './content/Hilstorm.csv'\n",
"csv_path = '/content/Hilstorm.csv'\n",
"url = 'http://www.minethatdata.com/Kevin_Hillstrom_MineThatData_E-MailAnalytics_DataMiningChallenge_2008.03.20.csv'\n",
"urllib.request.urlretrieve(url, csv_path)"
]
Expand Down
7 changes: 4 additions & 3 deletions notebooks/pipeline_usage_RU.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
" </a>\n",
" <br>\n",
" <b><a href=\"https://github.com/maks-sh/scikit-uplift/\">SCIKIT-UPLIFT REPO</a> | </b>\n",
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a></b>\n",
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/\">SCIKIT-UPLIFT DOCS</a> | </b>\n",
" <b><a href=\"https://scikit-uplift.readthedocs.io/en/latest/user_guide/index.html\">USER GUIDE</a></b>\n",
" <br>\n",
" <b><a href=\"https://nbviewer.jupyter.org/github/maks-sh/scikit-uplift/blob/master/notebooks/pipeline_usage_EN.ipynb\">ENGLISH VERSION</a></b>\n",
"\n",
Expand Down Expand Up @@ -50,7 +51,7 @@
},
"outputs": [],
"source": [
"!pip install scikit-uplift==0.1.2 xgboost==1.0.2 category_encoders==2.1.0"
"!pip install scikit-uplift xgboost==1.0.2 category_encoders==2.1.0 -U"
]
},
{
Expand Down Expand Up @@ -79,7 +80,7 @@
"import urllib.request\n",
"\n",
"\n",
"csv_path = './content/Hilstorm.csv'\n",
"csv_path = '/content/Hilstorm.csv'\n",
"url = 'http://www.minethatdata.com/Kevin_Hillstrom_MineThatData_E-MailAnalytics_DataMiningChallenge_2008.03.20.csv'\n",
"urllib.request.urlretrieve(url, csv_path)"
]
Expand Down

0 comments on commit accaa13

Please sign in to comment.