Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
aitk
master
Aitk
AbstractOptimizer
Clustering
Cluster
KMeans
GreedyRandomOptimizer
HillClimbingOptimizer
NelderMeadOptimizer
RBF
BaseTrainer
GaussianFunction
GreedyRandomTrainer
HillClimbingTrainer
Network
SimulatedAnnealingTrainer
SimulatedAnnealingOptimizer
Vector
Built with Crystal 1.10.0
2023-12-06 15:16:01 UTC
class
Aitk::
Clustering::
KMeans
Aitk::Clustering::KMeans
Reference
Object
Defined in:
aitk/clustering/kmeans.cr
Constructors
.new
(vectors, k)
Class Method Summary
.run
(vectors, k)
Instance Method Summary
#clusters
: Array(Aitk::Clustering::Cluster)
#run
Constructor Detail
def self.
new
(vectors, k)
#
[
View source
]
Class Method Detail
def self.
run
(vectors, k)
#
[
View source
]
Instance Method Detail
def
clusters
: Array(
Aitk::Clustering::Cluster
)
#
[
View source
]
def
run
#
[
View source
]