From a52d9e033ef5686e7acf56800af3f35a9de4dd10 Mon Sep 17 00:00:00 2001 From: Marchlak Date: Fri, 27 Sep 2024 15:24:32 +0200 Subject: [PATCH] Fix tests/tests_algorithms/test_nn.py::MultiClassNeuralNetworkAlgorithmTest::test_fit_predict change LabelBinarizer to LabelEncoder --- tests/tests_algorithms/test_nn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests_algorithms/test_nn.py b/tests/tests_algorithms/test_nn.py index ea09cdab..4a06a02a 100644 --- a/tests/tests_algorithms/test_nn.py +++ b/tests/tests_algorithms/test_nn.py @@ -138,7 +138,7 @@ def setUpClass(cls): "num_class": 3, } - lb = preprocessing.LabelBinarizer() + lb = preprocessing.LabelEncoder() lb.fit(cls.y) cls.y = lb.transform(cls.y)