diff --git a/bob/bio/base/script/commands.py b/bob/bio/base/script/commands.py index 4276ac659b65f39de4852cf448e7b726dc3536cc..b11feae163fd2aa06dfd31f0dd742cb0abbd182d 100644 --- a/bob/bio/base/script/commands.py +++ b/bob/bio/base/script/commands.py @@ -67,6 +67,7 @@ def metrics(ctx, scores, evaluation, **kargs): @click.command() @common_options.scores_argument(nargs=-1) +@common_options.title_option() @common_options.legends_option() @common_options.sep_dev_eval_option() @common_options.output_plot_file_option(default_out='roc.pdf') @@ -111,6 +112,7 @@ def roc(ctx, scores, evaluation, **kargs): @click.command() @common_options.scores_argument(nargs=-1) +@common_options.title_option() @common_options.output_plot_file_option(default_out='det.pdf') @common_options.legends_option() @common_options.x_label_option() @@ -153,6 +155,7 @@ def det(ctx, scores, evaluation, **kargs): @click.command() @common_options.scores_argument(min_arg=1, force_eval=True, nargs=-1) +@common_options.title_option() @common_options.output_plot_file_option(default_out='epc.pdf') @common_options.legends_option() @common_options.points_curve_option() @@ -183,6 +186,7 @@ def epc(ctx, scores, **kargs): @click.command() @common_options.scores_argument(nargs=-1) +@common_options.title_option() @common_options.legends_option() @common_options.sep_dev_eval_option() @common_options.output_plot_file_option(default_out='cmc.pdf') @@ -224,6 +228,7 @@ def cmc(ctx, scores, evaluation, **kargs): @click.command() @common_options.scores_argument(nargs=-1) +@common_options.title_option() @common_options.legends_option() @common_options.sep_dev_eval_option() @common_options.output_plot_file_option(default_out='cmc.pdf') diff --git a/doc/experiments.rst b/doc/experiments.rst index 3894c189ad722f6a71c4c6fe196acc05c0bd9204..96e8d053483b0d2956b9fc4bec9309ad4c3681b9 100644 --- a/doc/experiments.rst +++ b/doc/experiments.rst @@ -170,7 +170,7 @@ min.HTER) on a development set and apply it on an evaluation set, just do: .. code-block:: sh - $ bob bio metrics {dev,test}-4col.txt --titltes ExpA --criterion hter + $ bob bio metrics {dev,test}-4col.txt --legends ExpA --criterion hter [Min. criterion: HTER ] Threshold on Development set `ExpA`: -4.830500e-03 ====== ====================== ================= @@ -194,7 +194,7 @@ For example: .. code-block:: sh - bob bio metrics {dev,test}-4col.txt --titltes ExpA --criterion cllr + bob bio metrics {dev,test}-4col.txt --legends ExpA --criterion cllr ====== ====================== ================ Computing Cllr and minCllr...