class CrystalML::Clustering::KMeans
- CrystalML::Clustering::KMeans
- CrystalML::UnsupervisedEstimator
- CrystalML::BaseEstimator
- Reference
- Object
Included Modules
Defined in:
clustering/k_means.crConstructors
Instance Method Summary
- #centroids : Tensor(Float64, CPU(Float64))
- #fit(data : Tensor(Float64, CPU(Float64)))
- #max_iters : Int32
- #max_iters=(max_iters : Int32)
- #n_clusters : Int32
- #n_clusters=(n_clusters : Int32)
- #predict(data : Tensor(Float64, CPU(Float64))) : Array(Int32)
- #tolerance : Float64
- #tolerance=(tolerance : Float64)
Instance methods inherited from module CrystalML::Clusterer
predict(data : Tensor(Float64, CPU(Float64))) : Array(Int32)predict(data : Array(Array(Float64)) | Crysda::DataFrame) : Array(Int32) predict
Instance methods inherited from class CrystalML::UnsupervisedEstimator
fit(data : Tensor(Float64, CPU(Float64)))fit(data : Array(Array(Float64)) | Crysda::DataFrame) fit