cytonormpy.KMeans.train

Contents

cytonormpy.KMeans.train#

KMeans.train(X, **kwargs)#

Trains the classifier. Calls sklearn.cluster.KMeans.fit() internally.

Parameters:
  • X (ndarray) – The data used for traning.

  • kwargs – Keyword arguments passed to sklearn.cluster.KMeans.fit()

Return type:

None