class Aitk::Clustering::Cluster

Defined in:

aitk/clustering/kmeans.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(centroid) #

[View source]

Instance Method Detail

def add(vector) #

[View source]
def distance(vector) #

[View source]
def recalculate_centroid #

[View source]
def vectors : Array(Array(Float64 | Int32)) #

[View source]