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
Hi @b-serra! I could be wrong, but I don't think DBSCAN can assign cluster labels to points other than those used for training the model. Looking at the scikit-learn implementation I see that it doesn't have predict as well.
EDIT: Just checked that scikit-learnfit_predict method returns the result labels. Therefore as scholar implementation already returns labels values, there is no need for a predict or fit_predict funcion.
Perhaps we should add fit_predict here as well. I am not sure about it because fit_predict would just return the labels of the model fit on x.
Anyway I did not notice that scholar aims to map scikit-learn lib! My bad.
No worries - any suggestions are welcome!
There is a substantial difference between how the two actually work because Scholar is built on top of Nx. In case you are not familiar with it I suggest having a look at Introduction to Nx.
josevalim
changed the title
predict function missing in DBSCAN clustering algorithm module
Add predict function to DBSCAN clustering algorithm
May 7, 2024
Is there any reason why DBSCAN module lacks of
predict
function compared to otherclustering
models contained here.The text was updated successfully, but these errors were encountered: