Skip to content

Commit 6ed096d

Browse files
Update scikit-learn (#818)
* Update scikit-learn * Fix formatting
1 parent 9566d6c commit 6ed096d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/scikit-learn/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,13 +999,13 @@ overall performance of an algorithm. It appears in the bottom row
999999
of the classification report; it can also be accessed directly::
10001000

10011001
>>> metrics.f1_score(y_test, y_pred, average="macro")
1002-
np.float64(0.991367...)
1002+
0.991367...
10031003

10041004
The over-fitting we saw previously can be quantified by computing the
10051005
f1-score on the training data itself::
10061006

10071007
>>> metrics.f1_score(y_train, clf.predict(X_train), average="macro")
1008-
np.float64(1.0)
1008+
1.0
10091009

10101010
.. note::
10111011

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ matplotlib==3.10.0
44
pandas==2.2.3
55
patsy==1.0.1
66
pyarrow==18.1.0
7-
scikit-learn==1.5.2
7+
scikit-learn==1.6.1
88
scikit-image==0.25.0
99
sympy==1.13.3
1010
statsmodels==0.14.4

0 commit comments

Comments
 (0)