get_real_prev# mlquantify.utils.general.get_real_prev(y) → dict[source]# Get the real prevalence of each class in the target array. Parameters: ynp.ndarray or pd.SeriesArray of class labels. Returns: dictDictionary of class labels and their corresponding prevalence.