class

Stochasta::DBSCAN::Model

Inherits Reference < Object

Constants

NOISE = -1

Label constants

UNVISITED = -2

Constructors

new(eps : Float64, min_samples : Int32)
Source

Instance methods

eps=(eps : Float64)
Source
fit(data : Array(Array(Float64))) : self

Fits the data and returns the cluster assignments

Source
labels
Source
labels=(labels : Array(Int32))
Source
min_samples
Source
min_samples=(min_samples : Int32)
Source