Draft: Feature/metrics
Merge request for the add of metrics tool.
New merge request after few problems between the new metrics tool and the script metrics.py in odeon.commons used for the tool train.
This is related with :
Commit revert ee1fdb48
Merge request !28 (merged) 35a5663e
Add of files:
- odeon/commons/metric/metrics.py
- odeon/commons/metric/metrics_binary.py
- odeon/commons/metric/metrics_multiclass.py
- odeon/commons/metric/metrics_factory.py
And :
- odeon/commons/reports/report_binary.py
- odeon/commons/reports/report_multiclass.py
Items to be examined:
The calculation of the metrics in itself, whether the code is factorable and if it fits well with what you wanted.
To test:
To test the tool, you have to create a json configuration file and launch the code with odeon metrics -c <config.json>
.
metrics_multiclass_simple.json
Edited by samy khelifi