Skip to content

Commit

Permalink
Merge pull request #780 from Marchlak/master
Browse files Browse the repository at this point in the history
Fix ix tests/tests_algorithms/test_nn.py::MultiClassNeuralNetworkAlgorithmTest::test_fit_predict
  • Loading branch information
pplonski authored Sep 27, 2024
2 parents e5fd66e + ccd78e1 commit 48927c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_algorithms/test_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 48927c5

Please sign in to comment.