Skip to content

A bug in the partial_fit function #35

@yousefabdi

Description

@yousefabdi

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_

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions