Skip to content

Commit 188d593

Browse files
committed
upgrade version
1 parent 6370750 commit 188d593

File tree

5 files changed

+12
-20
lines changed

5 files changed

+12
-20
lines changed

HISTORY.rst

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
History
66
=======
77

8-
current - 2022-05-18 - 0.00Mb
8+
current - 2022-07-22 - 0.00Mb
9+
=============================
10+
11+
* #105: Update for python 3.10 (2022-07-22)
12+
* #108: Uses f strings (2022-07-19)
13+
14+
0.3.631 - 2022-05-19 - 0.52Mb
915
=============================
1016

1117
* #107: Updates CI for scikit-learn==1.1 (2022-05-18)
@@ -61,20 +67,8 @@ current - 2022-05-18 - 0.00Mb
6167
* #82: Fixes #81, skl 0.22, 0.23 together (2020-08-06)
6268
* #81: Make mlinsights work with scikit-learn 0.22 and 0.23 (2020-08-06)
6369
* #79: pipeline2dot fails with 'passthrough' (2020-07-16)
64-
65-
0.2.463 - 2020-06-29 - 0.83Mb
66-
=============================
67-
6870
* #78: Removes strong dependency on pyquickhelper (2020-06-29)
69-
70-
0.2.450 - 2020-06-08 - 0.83Mb
71-
=============================
72-
7371
* #77: Add parameter trainable to TransferTransformer (2020-06-07)
74-
75-
0.2.447 - 2020-06-03 - 0.83Mb
76-
=============================
77-
7872
* #76: ConstraintKMeans does not produce convex clusters. (2020-06-03)
7973
* #75: Moves kmeans with constraint from papierstat. (2020-05-27)
8074
* #74: Fix PipelineCache after as scikti-learn 0.23 changed the way parameters is handle in pipelines (2020-05-15)

appveyor.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ environment:
66
PYTHON_VERSION: "3.10.x"
77
PYTHON_ARCH: "64"
88
SKL: '>=1.0'
9-
- PYTHON: "C:\\Python39-x64"
10-
PYTHON_VERSION: "3.9.x"
11-
PYTHON_ARCH: "64"
12-
SKL: '==0.24.2'
139
init:
1410
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
1511

mlinsights/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@brief Module *mlinsights*.
55
Look for insights for machine learned models.
66
"""
7-
__version__ = "0.3.631"
7+
__version__ = "0.3.649"
88
__author__ = "Xavier Dupré"
99
__github__ = "https://github.com/sdpython/mlinsights"
1010
__url__ = "http://www.xavierdupre.fr/app/mlinsights/helpsphinx/index.html"

mlinsights/helpers/pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def to_str(self, nrows=5):
112112
"""
113113
Tries to produce a readable message.
114114
"""
115-
rows = [f'BaseEstimatorDebugInformation({self.model.__class__.__name__})']
115+
rows = [
116+
f'BaseEstimatorDebugInformation({self.model.__class__.__name__})']
116117
for k in sorted(self.inputs):
117118
if k in self.outputs:
118119
rows.append(' ' + k + '(')

mlinsights/mlmodel/kmeans_constraint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ def __init__(self, n_clusters=8, init='k-means++', n_init=10, max_iter=500,
8585
self.history = history
8686
self.learning_rate = learning_rate
8787
if strategy not in ConstraintKMeans._strategy_value:
88-
raise ValueError(f'strategy must be in {ConstraintKMeans._strategy_value}')
88+
raise ValueError(
89+
f'strategy must be in {ConstraintKMeans._strategy_value}')
8990

9091
def fit(self, X, y=None, sample_weight=None, fLOG=None):
9192
"""

0 commit comments

Comments
 (0)