avocado.Classifier.write

Classifier.write(overwrite=False)

Write a trained classifier to disk

Parameters:
  • name (str) – A unique name used to identify the classifier.
  • overwrite (bool (optional)) – If a classifier with the same name already exists on disk and this is True, overwrite it. Otherwise, raise an AvocadoException.