nicetoolbox.evaluation.results_wrapper.initialize

Builds the pandas dataframe backbone using MultiIndex for high dimensional labeled data.

Functions

build_index

Builds a DataFrame in "long" format by creating a MultiIndex from evaluation results stored in .npz files under the provided root folder.

nicetoolbox.evaluation.results_wrapper.initialize.build_index(root: Path) DataFrame[source]

Builds a DataFrame in “long” format by creating a MultiIndex from evaluation results stored in .npz files under the provided root folder. After collecting the MultiIndex and metric data from all files into individual Series, they are concatenated into a DataFrame with a single ‘value’ column.

Parameters:

root – The root folder containing evaluation result .npz files.

Returns:

A pandas DataFrame with a MultiIndex built from the evaluation results.