get_pep_for_algo#

pepbench.data_handling.get_pep_for_algo(results_per_sample: DataFrame, algo_combi: Sequence[str]) DataFrame[source]#

Extract the PEP values for a specific algorithm combination from the results-per-sample dataframe.

Parameters:
results_per_samplepandas.DataFrame

The results-per-sample dataframe.

algo_combistr or tuple of str

The algorithm combination for which the PEP values should be extracted.

Returns:
pandas.DataFrame

The PEP values for the specified algorithm combination.

Raises:
TypeError

If the input data is not a pandas.DataFrame.