Open brudfors opened 2 years ago
@brudfors - util function is a good idea - will modify to that purpose Regarding the x_at_y - good point but direction of monotonicity need to be acknowledged Can't use the histogram due to need to create bins to have equal number of samples
ref
andpred
are binarised, fix: https://github.com/csudre/MetricsReloaded/blob/f7f6296468b6556c882cccebb8b6a973d2352e01/pairwise_measures.py#L180 https://github.com/csudre/MetricsReloaded/blob/f7f6296468b6556c882cccebb8b6a973d2352e01/pairwise_measures.py#L181utils.py
): https://github.com/csudre/MetricsReloaded/blob/f7f6296468b6556c882cccebb8b6a973d2352e01/utils.py#L93np.percentile
interpolates, c.f., Fig 7 in Common... paper that points to a discrete value.x_at_y
for less repeated code: https://github.com/csudre/MetricsReloaded/blob/f7f6296468b6556c882cccebb8b6a973d2352e01/utils.py#L107 i.e., https://github.com/csudre/MetricsReloaded/blob/f7f6296468b6556c882cccebb8b6a973d2352e01/prob_pairwise_measures.py#L236per_label_dict
functions in the classes inmixed_measures_processes.py
could perhaps be implemented in a base class, which would lead to less lines of code.