Bayesian Models
Clustering Models
Types
KMeans.fit()
Fits the KMeans model on the provided data by running Lloyd's algorithm.
data (Union[ndarray[Any, dtype[float32]], Tensor]) -- The tabular data to fit on. The dimensionality of the KMeans model is automatically inferred from this data.
Union
ndarray
Any
dtype
float32
Tensor
KMeans
The fitted KMeans model.