patch_predictions_as_annotations¶ tiatoolbox . utils . misc . patch_predictions_as_annotations patch_predictions_as_annotations(preds, keys, class_dict, class_probs, patch_coords, classes_predicted, labels, *, verbose=True)[source]¶ Helper function to generate annotation per patch predictions. Parameters: preds (list | ndarray) keys (list) class_dict (dict) class_probs (list | ndarray) patch_coords (list | ndarray) classes_predicted (list) labels (list) verbose (bool) Return type: list