Parse benchmark summary
parse_benchmark_result_summary(benchmarking_df)
Parse the summary benchmark DataFrame into a list of BenchmarkRunResults.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
benchmarking_df |
pd.DataFrame
|
Summary benchmark DataFrame containing columns such as 'results_directory_path', 'top', 'top3', 'top5', 'top10', 'found', 'total', 'mean_reciprocal_rank'. |
required |
Returns:
Type | Description |
---|---|
List[BenchmarkRunResults]
|
List[BenchmarkRunResults]: A list of BenchmarkRunResults instances generated from the DataFrame. |
Source code in src/pheval/analyse/parse_benchmark_summary.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
|
read_benchmark_tsv_result_summary(benchmarking_tsv)
Read the summary benchmark TSV output generated from the benchmark-comparison command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
benchmarking_tsv |
Path
|
Path to the summary benchmark TSV output file. |
required |
Returns:
Type | Description |
---|---|
pd.DataFrame
|
pd.DataFrame: A pandas DataFrame containing specific columns from the TSV file, including: 'results_directory_path', 'top', 'top3', 'top5', 'top10', 'found', 'total', 'mean_reciprocal_rank'. |
Source code in src/pheval/analyse/parse_benchmark_summary.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|