Commit 22047462 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

[script][vuln_commands] Add prefix aliasing and remove vuln command

group

Vuln command group is defined in vuln.py
parent 852d4da5
Pipeline #20623 passed with stage
in 14 minutes and 29 seconds
......@@ -11,7 +11,8 @@ from click.types import FLOAT
from bob.measure.script import common_options
from bob.extension.scripts.click_helper import (verbosity_option,
open_file_mode_option,
bool_option)
bool_option,
AliasedGroup)
from bob.core import random
from bob.io.base import create_directories_safe
from bob.bio.base.score import load
......@@ -23,13 +24,6 @@ NUM_PA = 5000
@with_plugins(pkg_resources.iter_entry_points('bob.vuln.cli'))
@click.group()
def vuln():
"""Presentation Vulnerability related commands."""
pass
def gen_score_distr(mean_gen, mean_zei, mean_pa, sigma_gen=1, sigma_zei=1,
sigma_pa=1):
......@@ -498,6 +492,8 @@ def evaluate(ctx, scores, **kwargs):
ctx.forward(hist) # use class defaults plot settings
click.echo("Computing DET...")
ctx.forward(det) # use class defaults plot settings
click.echo("Computing ROC...")
ctx.forward(roc) # use class defaults plot settings
click.echo("Computing EPC...")
ctx.forward(epc) # use class defaults plot settings
click.echo("Computing EPSC...")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment