avocado.Classifier¶
-
class
avocado.Classifier(name)¶ Classifier used to classify the different objects in a dataset.
Parameters: name (str) – The name of the classifier. -
__init__(name)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(name)Initialize self. load(name)Load a classifier that was previously saved to disk predict(dataset)Generate predictions for a dataset train(dataset)Train the classifier on a dataset write([overwrite])Write a trained classifier to disk Attributes
pathGet the path to where a classifier should be stored on disk -