From a591a132caafdb1ca87df1227061ab309041b9e3 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Fri, 10 Jan 2025 09:56:19 -0800 Subject: [PATCH] Fix formatting --- packages/scikit-learn/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/scikit-learn/index.rst b/packages/scikit-learn/index.rst index 526438cd..eeabed66 100644 --- a/packages/scikit-learn/index.rst +++ b/packages/scikit-learn/index.rst @@ -999,13 +999,13 @@ overall performance of an algorithm. It appears in the bottom row of the classification report; it can also be accessed directly:: >>> metrics.f1_score(y_test, y_pred, average="macro") - np.float64(0.991367...) + 0.991367... The over-fitting we saw previously can be quantified by computing the f1-score on the training data itself:: >>> metrics.f1_score(y_train, clf.predict(X_train), average="macro") - np.float64(1.0) + 1.0 .. note::