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
I was trying to predict the output label without inserting into model(I have already trained the model on my data). It always gives Nan. Is there any specific reason for this kind of behaviour?
I thought it should give the closest existing cluster if not fitted with the data point.
The text was updated successfully, but these errors were encountered:
It's a matter of definition I think. I see what you expect but I can also argue that clustering is about arranging already existing data points into groups. Note that in scikit-learn's DBSCAN there's no predict method, only fit and fit_predict.
As a workaround you can maybe insert the new point, get its cluster label, then delete it.
I was trying to predict the output label without inserting into model(I have already trained the model on my data). It always gives Nan. Is there any specific reason for this kind of behaviour?
I thought it should give the closest existing cluster if not fitted with the data point.
The text was updated successfully, but these errors were encountered: