Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A bug in the partial_fit function #35

Open
yousefabdi opened this issue Feb 11, 2023 · 1 comment
Open

A bug in the partial_fit function #35

yousefabdi opened this issue Feb 11, 2023 · 1 comment
Assignees

Comments

@yousefabdi
Copy link

yousefabdi commented Feb 11, 2023

Hello,

At first, I would like to thank for developing this great package. It was nececcary for stream mining research community.

I have a problem with "partial_fit" function when using on multi-class datasets.
The error message I get is as follows:
ValueError: could not broadcast input array from shape (2,) into shape (3,)

I attached the dataset.
RBF_Gradual_3Class_.csv

When I set the "classes" argument of the "partial_fit" in the KUE algorithm, it works.
clf.partial_fit(X_train, y_train, classes=labels)

However, in other algorithms, UOB for example, I get the same error by setting the "classes" argument too.

❌❌❌ The error is on self.current_tdcs_

@yousefabdi
Copy link
Author

yousefabdi commented Feb 12, 2023

Most of the multi-class algorithms have issues with multi-class datasets.

❌ NIE.py: on f1-score

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants