From f4c9c96a95fc3c27c0075708187cf97774b1abb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20Rekzi?= <115087586+RekziP@users.noreply.github.com> Date: Sat, 24 Feb 2024 18:51:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B8=D0=BC=D0=BF=D0=BE=D1=80=D1=82=20=D0=BC?= =?UTF-8?q?=D0=B5=D1=82=D1=80=D0=B8=D0=BA=20=D0=B2=20ML4.3=20cross-validat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ML4.3 cross-validation/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ML4.3 cross-validation/README.md b/ML4.3 cross-validation/README.md index 87295a0..e5c87cb 100644 --- a/ML4.3 cross-validation/README.md +++ b/ML4.3 cross-validation/README.md @@ -69,7 +69,7 @@ X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.15, random Обучим модель логистической регрессии и выведем значения метрик: ```python -from sklearn.metrics import metrics +from sklearn.metrics import accuracy_score, f1_score from sklearn.linear_model import LogisticRegression model = LogisticRegression(solver='liblinear')