locpix.evaluate.metrics#

Module for calculating performance metrics

Functions

aggregated_metrics(files_folder, save_loc, ...)

Calculate metrics over files, where each file should represent a parquet file which is a datastruc.item

mean_metrics(results, labels)

Calculate the mean metrics

metric_calculation(item, labels)

Calculate TP, TN, FP and FN for df for each label present