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_sample
pandas.DataFrame The results-per-sample dataframe.
- algo_combistr or tuple of str
The algorithm combination for which the PEP values should be extracted.
- results_per_sample
- Returns:
pandas.DataFrameThe PEP values for the specified algorithm combination.
- Raises:
- TypeError
If the input data is not a
pandas.DataFrame.