Closed smarbal closed 1 year ago
@smarbal The difficulty with this is that a few algorithms, either supervised or unsupervised, use the API with .fit(...)
and .predict(...)
, as you can see for RandomForestClassifier
or KMeans
while DBSCAN
doesn't. I will program an alternative workflow for this case.
@smarbal I did not test yet, I must confess. If you have time for, please do...
This works as intended, thank you.
The following error occurs when training some clustering algorithms :
This is because the sklearn model does not implement a
predict()
method. Instead, thefit_predict()
method should be used.