You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to pass a sample_weight to fit_predict in KPrototypes, and to get the cluster labels from the weighted fitting.
Actual Behavior
Passing a sample_weight to fit_predict causes an exception. This is because the predict function in KProtoypes does not have a **kwargs, nor does it take a sample_weight.
Steps to Reproduce the Problem
Pass a sample_weight to fit_predict of KPrototypes, along with some data.
Specifications
Version: 0.12
Platform: Ubuntu 20.04 LTS, Python 3.8,
The text was updated successfully, but these errors were encountered:
Expected Behavior
It should be possible to pass a
sample_weight
tofit_predict
inKPrototypes
, and to get the cluster labels from the weighted fitting.Actual Behavior
Passing a sample_weight to fit_predict causes an exception. This is because the predict function in
KProtoypes
does not have a**kwargs
, nor does it take asample_weight
.Steps to Reproduce the Problem
Pass a
sample_weight
tofit_predict
ofKPrototypes
, along with some data.Specifications
The text was updated successfully, but these errors were encountered: