predict.dbs: Predict function for DBSCAN

predict.dbsR Documentation

Predict function for DBSCAN

Description

Return the closest DBSCAN cluster for a new dataset.

Usage

## S3 method for class 'dbs'
predict(object, newdata, ...)

Arguments

object

The classification model (of class dbs-class, created by DBSCAN).

newdata

A new dataset (a data.frame), with same variables as the learning dataset.

...

Other parameters.

See Also

DBSCAN

Examples

require (datasets)
data (iris)
d = splitdata (iris, 5)
model = DBSCAN (d$train.x, minpts = 5, eps = 0.65)
predict (model, d$test.x)

fdm2id documentation built on July 9, 2023, 6:05 p.m.

Related to predict.dbs in fdm2id...