diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-10-22 16:14:08 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-10-22 16:14:08 +0200 |
commit | 2b28a0718f3712ac0dad5147ffe859a6c53f0c35 (patch) | |
tree | 962317bbe809ee14b8fe5607368bd5dbae5d6a30 /bin | |
parent | 3ae8c845103e2ad4f577c4bf195a1e81899cf518 (diff) |
prepare proper overall error measures
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-archive.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index fac8b00..99b3012 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -403,6 +403,10 @@ if __name__ == '__main__': if 'table' in show_quality or 'all' in show_quality: model_quality_table([static_quality, analytic_quality, lut_quality], [None, param_info, None]) + if 'overall' in show_quality or 'all' in show_quality: + print('overall MAE of static model: {} µW'.format(model.assess_states(static_model))) + print('overall MAE of param model: {} µW'.format(model.assess_states(param_model))) + print('overall MAE of LUT model: {} µW'.format(model.assess_states(lut_model))) if 'summary' in show_quality or 'all' in show_quality: model_summary_table([model.assess_on_traces(static_model), model.assess_on_traces(param_model), model.assess_on_traces(lut_model)]) |