add_predictions#
- Evaluator.add_predictions(predictions_name: str, predictions: DataFrame)[source]#
Method to add predictions to the Evaluator from a dataframe. No check will be done on image data the annotations refer to. However, it will check that
image_idvalues ofpredictionsare contained in the evaluator’simage_dataandcategory_idvalues are contained in the label mapNote that this method will overwrite a potentially already existing prediction dataframe
- Parameters:
predictions_name – name of predictions to add. It will then be used as key in the
self.predictions_dictionaryattribute.predictions – prediction dataframe to be added to the evaluator.