diff --git a/bob/fusion/base/script/boundary.py b/bob/fusion/base/script/boundary.py index 54d8aa15405b5c73ab22133c695cafa931ac02d8..7e175c0c0d37585bf11ebda42090011541582c0b 100644 --- a/bob/fusion/base/script/boundary.py +++ b/bob/fusion/base/script/boundary.py @@ -91,7 +91,13 @@ def plot_boundary_decision(algorithm, scores, score_labels, threshold, return contourf -@click.command() +EPILOG = """\b +Examples: +$ bob fusion boundary -vvv {sys1,sys2}/scores-eval -m /path/saved_model.pkl +""" + + +@click.command(epilog=EPILOG) @click.argument('scores', nargs=-1, required=True, type=click.Path(exists=True)) @click.option('-m', '--model-file', required=True, @@ -115,17 +121,13 @@ def plot_boundary_decision(algorithm, scores, score_labels, threshold, 'between scores.') @verbosity_option() def boundary(scores, model_file, threshold, group, grouping, output, x_label, - y_label, skip_check): + y_label, skip_check, **kwargs): """Plots the decision boundaries of fusion algorithms. The script takes several scores (usually eval scores) from different biometric and pad systems and a trained algorithm and plots the decision boundary. - \b - Examples: - $ bob fusion boundary -vvv {sys1,sys2}/scores-eval -m /path/saved_model.pkl - You need to provide two score files from two systems. System 1 will be plotted on the x-axis. """