Struct rusty_machine::learning::dbscan::DBSCAN [] [src]

pub struct DBSCAN { /* fields omitted */ }

DBSCAN Model

Implements clustering using the DBSCAN algorithm via the UnSupModel trait.

Methods

impl DBSCAN
[src]

Create a new DBSCAN model with a given distance episilon and minimum points per cluster.

Set predictive to true if the model is to be used to classify future points.

If the model is set as predictive then the input data will be cloned during training.

Return an Option pointing to the model clusters.

Trait Implementations

impl Debug for DBSCAN
[src]

Formats the value using the given formatter.

impl Default for DBSCAN
[src]

Constructs a non-predictive DBSCAN model with the following parameters:

Returns the "default value" for a type. Read more

impl UnSupModel<Matrix<f64>, Vector<Option<usize>>> for DBSCAN
[src]

Train the classifier using input data.

Predict output from inputs.