mean_proportion_pos_px

hybrid_learning.datasets.data_visualization.mean_proportion_pos_px(masks)[source]

From the given samples, calculate the mean of the proportion of positive pixels per mask. Assuming mask to be binary.

Parameters

masks (Sequence[Tensor]) –