class

Stochasta::Hierarchical::Model

Inherits Reference < Object

Constructors

new(k : Int32, linkage : Linkage = Linkage::Average)
Source

Instance methods

fit(data : Array(Array(Float64))) : self

Fits the dataset and labels each point with its cluster ID

Source
k=(k : Int32)
Source
labels
Source
labels=(labels : Array(Int32))
Source
linkage
Source
linkage=(linkage : Linkage)
Source