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

pub struct DBSCAN { /* fields omitted */ }


Implements clustering using the DBSCAN algorithm via the UnSupModel trait.



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

Formats the value using the given formatter.

impl Default for DBSCAN

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

Train the classifier using input data.

Predict output from inputs.