avocado.Dataset.write_predictions

Dataset.write_predictions(classifier=None, **kwargs)

Write predictions for this classifier to disk.

The predictions will be stored in the predictions directory using both the dataset and classifier’s names.

Parameters:
  • classifier (str or Classifier (optional)) – The classifier to load predictions from. This can be either an instance of a Classifier, or the name of a classifier. By default, the stored classifier is used.
  • **kwargs – Additional arguments to be passed to utils.write_dataframe