multidim.models.GaussianMixtureClassifier.fit¶
-
GaussianMixtureClassifier.fit(*training)[source]¶ Fit this estimator to training data. This is the step that runs the actual predictor.
Parameters: - *training
Can be any of the following:
- a pair of list-like objects: pointclouds_train and labels_train
The items in pointclouds_train should be
numpy.ndarrayobjects. The items in labels_train should be strings (preferably, color names). - a single labelled and weighted
multidim.PointCloud - a single
multidim.covertree.CoverTreeobtained from a labelled and weightedmultidim.PointCloud
- a pair of list-like objects: pointclouds_train and labels_train
The items in pointclouds_train should be