Skip to content
Snippets Groups Projects
Commit bd478963 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Arrayed fake_mc_y

parent 54217ad7
No related branches found
No related tags found
No related merge requests found
Pipeline #4118 passed
......@@ -81,6 +81,7 @@ class BaseClassifier(BaseEstimator, ):
for _ in range(int(n_samples / n_classes))
for class_index in range(n_classes)]
fake_mc_y += [0 for _ in range(n_samples % n_classes)]
fake_mc_y = np.asarray(fake_mc_y)
try:
self.fit(fake_mc_X, fake_mc_y)
self.predict(fake_mc_X)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment