Predict the membership of a new point given a clustering.
# S3 method for dbscan_fast
predict(object, newdata, data, ...)# S3 method for optics
predict(object, newdata, data, ...)
# S3 method for hdbscan
predict(object, newdata, data, ...)
clustering object.
new data points for which the cluster membership should be predicted.
the data set used to create the clustering object.
further arguments.
For DBSCAN: If a new point is in the eps neighborhood of a point in the clustering, the
the label of that point is predicted, otherwise the prediction is 0
(noise).
For OPTICS: Extracts a DBSCAN clustering and use predict for DBSCAN.
For HDBSCAN: Find the k-nearest neighbors with the smallest mutual reachability distance to predict the label
Other clustering functions:
dbscan()
,
extractFOSC()
,
hdbscan()
,
jpclust()
,
optics()
,
sNNclust()