pub struct DBSCAN { /* private fields */ }
Expand description

DBSCAN Model

Implements clustering using the DBSCAN algorithm via the UnSupModel trait.

Implementations

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

Formats the value using the given formatter. Read more

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

  • eps : 0.5
  • min_points : 5
Returns the “default value” for a type. Read more

Train the classifier using input data.

Predict output from inputs.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.