visualize_concept_models

hybrid_learning.concepts.analysis.visualization.visualize_concept_models(titled_handles, save_as=None, transform=None)[source]

Visualize the predictions of several concept models in a common image. See visualize_concept_model().

Parameters
  • titled_handles (Dict[str, ConceptDetection2DTrainTestHandle]) – dict of {title: concept model train/test handle (holding model and data)}

  • save_as (Optional[str]) – file path to the .png file to save using matplotlib.pyplot.savefig(); not saved if None

  • transform (Optional[Callable]) – a transformation to be applied to the model output before mask visualization