Skip to content

Commit b8c28d2

Browse files
committed
initial
1 parent 17c324a commit b8c28d2

File tree

3 files changed

+420
-163
lines changed

3 files changed

+420
-163
lines changed

report_generator/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22

33
Report generator produces Excel table file from json benchmark log files.
44

5-
Run `python report_generator.py --result-files bench_log_1.json,bench_log_2.json [--report-file new_report.xlsx --generation-config gen_config.json --merging none]` to launch report generation.
5+
Run `python report_generator.py --result-files bench_log_1.json,bench_log_2.json [--report-file new_report.xlsx --generation-config default_report_gen_config.json]` to launch report generation.
66

77
runner options:
88
* ``result-files`` : comma-separated benchmark json result file paths
99
* ``report-file`` : report file path
1010
* ``generation-config`` : generation configuration file path
11-
* ``merging``: *full*, *none*, *sw_only*, *hw_only*. How to merge same cases in benchmark logs
11+
12+
config parameters:
13+
* ``header`` : Column names in the table header. These parameters are also used to compare reports. If the name is compound, then it should be separated by the '':'' symbol
14+
* ``comparison_method`` : Comparison of two results. The options are: ``1 operation 2`` or ``2 operation 1``
15+
* ``aggregation_metrics`` : Metric applied to columns with comparisons of two reports. For each of these metrics, a separate sheet with a summary is compiled. It is important that the function is in Excel.
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"align": [
2+
"header": [
33
"algorithm",
44
"stage",
55
"input_data:data_order",
@@ -10,9 +10,22 @@
1010
"input_data:classes",
1111
"input_data:n_clusters"
1212
],
13-
"diff": [
14-
"software_hash",
15-
"hardware_hash",
16-
"measurement_time"
13+
"comparison_method": {
14+
"time[s]": "2 / 1",
15+
"davies_bouldin_score": "2 / 1",
16+
"inertia": "2 / 1",
17+
"iter": "2 / 1",
18+
"noise_variance": "2 / 1",
19+
"accuracy": "2 / 1",
20+
"log_loss": "2 / 1",
21+
"roc_auc": "2 / 1",
22+
"rmse": "2 / 1",
23+
"r2_score": "2 / 1",
24+
"n_sv": "2 / 1",
25+
"n_clusters": "2 / 1"
26+
},
27+
"aggregation_metrics": [
28+
"geomean",
29+
"average"
1730
]
18-
}
31+
}

0 commit comments

Comments
 (0)