Skip to content

Commit e601c37

Browse files
authored
Merge pull request #145 from yg79/feature/v1.2.0
Feature/v1.2.0
2 parents 07452d5 + 48c8253 commit e601c37

File tree

6 files changed

+11
-21
lines changed

6 files changed

+11
-21
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ It provides several types of visualization that display explicit labels that eve
1919
Data Scientists can more easily understand their models and share their results. End users can understand the decision proposed by a model using a summary of the most influential criteria.
2020

2121
- Readthedocs: [![documentation badge](https://readthedocs.org/projects/shapash/badge/?version=latest)](https://shapash.readthedocs.io/en/latest/)
22+
- Medium: [Towards AI](https://pub.towardsai.net/shapash-making-ml-models-understandable-by-everyone-8f96ad469eb3)
23+
- Presentation video for french speakers:
24+
<p align="center">
25+
<a href="https://www.youtube.com/watch?v=r1R_A9B9apk" target="_blank"><img src="https://raw.githubusercontent.com/MAIF/shapash/master/docs/_static/webinar_screenshot.png" width="550" alt="French Webinar"/></a>
26+
</p>
2227

2328
<br/> <br/>
2429

docs/tutorials/tutorial01-Shapash-Overview-Launch-WebApp.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,6 @@ Model Fitting
105105
106106
regressor = LGBMRegressor(n_estimators=200).fit(Xtrain,ytrain)
107107
108-
.. code:: ipython
109-
110-
y_pred = pd.DataFrame(regressor.predict(Xtest),columns=['pred'],index=Xtest.index)
111-
112108
Understanding my model with shapash
113109
-----------------------------------
114110

@@ -128,8 +124,7 @@ Declare and Compile SmartExplainer
128124
xpl.compile(
129125
x=Xtest,
130126
model=regressor,
131-
preprocessing=encoder, # Optional: compile step can use inverse_transform method
132-
y_pred=y_pred # Optional
127+
preprocessing=encoder # Optional: compile step can use inverse_transform method
133128
)
134129
135130

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.1.0
2+
current_version = 1.2.0
33
commit = True
44
tag = True
55

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
setup(
3232
name="shapash", # Replace with your own username
33-
version="1.1.0",
33+
version="1.2.0",
3434
python_requires='>3.5, < 3.9',
3535
url='https://github.com/MAIF/shapash',
3636
author="Yann Golhen, Sebastien Bidault, Yann Lagre, Maxime Gendre",

shapash/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
__author__ = """Yann Golhen, Yann Lagré, Sebastien Bidault, Maxime Gendre, Thomas Bouche, Johann Martin"""
55
6-
__version__ = '1.1.0'
6+
__version__ = '1.2.0'

tutorial/tutorial01-Shapash-Overview-Launch-WebApp.ipynb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -389,15 +389,6 @@
389389
"regressor = LGBMRegressor(n_estimators=200).fit(Xtrain,ytrain)"
390390
]
391391
},
392-
{
393-
"cell_type": "code",
394-
"execution_count": 9,
395-
"metadata": {},
396-
"outputs": [],
397-
"source": [
398-
"y_pred = pd.DataFrame(regressor.predict(Xtest),columns=['pred'],index=Xtest.index)"
399-
]
400-
},
401392
{
402393
"cell_type": "markdown",
403394
"metadata": {},
@@ -447,8 +438,7 @@
447438
"xpl.compile(\n",
448439
" x=Xtest,\n",
449440
" model=regressor,\n",
450-
" preprocessing=encoder, # Optional: compile step can use inverse_transform method\n",
451-
" y_pred=y_pred # Optional\n",
441+
" preprocessing=encoder # Optional: compile step can use inverse_transform method\n",
452442
")"
453443
]
454444
},
@@ -699,4 +689,4 @@
699689
},
700690
"nbformat": 4,
701691
"nbformat_minor": 4
702-
}
692+
}

0 commit comments

Comments
 (0)