File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -999,13 +999,13 @@ overall performance of an algorithm. It appears in the bottom row
999999of 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
10041004The over-fitting we saw previously can be quantified by computing the
10051005f1-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
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ matplotlib==3.10.0
44pandas == 2.2.3
55patsy == 1.0.1
66pyarrow == 18.1.0
7- scikit-learn == 1.5.2
7+ scikit-learn == 1.6.1
88scikit-image == 0.25.0
99sympy == 1.13.3
1010statsmodels == 0.14.4
You can’t perform that action at this time.
0 commit comments