Skip to content

merge feature metrics

samy khelifi requested to merge feature/metrics_to_MR into master

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 :

closed Merge request for conflicts impossible to handle remotely !30 (closed) Draft: Feature/metrics

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

Merge request reports