help="Name of a known parser or of a python-importable function that can parse your input files and return a tuple (negatives, positives) as blitz 1-D arrays of 64-bit floats. Consult the API of bob.measure.load.split_four_column() for details",metavar="NAME.FUNCTION")
# This option is not normally shown to the user...
#help="if set, runs an internal verification test and erases any output")
args=parser.parse_args(args=user_input)
ifargs.test:
# then we go into test mode, all input is preset
args.thres=0.0
ifargs.ifileisNone:
parser.error("you should give an input score set with --scores")
ifargs.thresisNone:
parser.error("you should give a threshold value with --threshold")
#parse the score-parser
ifargs.parser.lower()in('4column','4col'):
args.parser=load.split_four_column
elifargs.parser.lower()in('5column','5col'):
args.parser=load.split_five_column
else:#try an import
ifargs.parser.find('.')==-1:
parser.error("parser module should be either '4column', '5column' or a valid python function identifier in the format 'module.function': '%s' is invalid"%args.parser)
help="Name of a known parser or of a python-importable function that can parse your input files and return a tuple (negatives, positives) as blitz 1-D arrays of 64-bit floats. Consult the API of bob.measure.load.split_four_column() for details",metavar="NAME.FUNCTION")
# This option is not normally shown to the user...
parser.error("you should give a development score set with --devel")
ifargs.testisNone:
parser.error("you should give a test score set with --test")
#parse the score-parser
from..importload
ifargs.parser.lower()in('4column','4col'):
args.parser=load.split_four_column
elifargs.parser.lower()in('5column','5col'):
args.parser=load.split_five_column
else:#try an import
ifargs.parser.find('.')==-1:
parser.error("parser module should be either '4column', '5column' or a valid python function identifier in the format 'module.function': '%s' is invalid"%arg.parser)
type=float,help="The value w of the cost when minimizing using the minimum weighter error rate (mwer) criterium. This value is ignored for eer or mhter criteria.",metavar="FLOAT")
help="Name of a known parser or of a python-importable function that can parse your input files and return a tuple (negatives, positives) as blitz 1-D arrays of 64-bit floats. Consult the API of bob.measure.load.split_four_column() for details",metavar="NAME.FUNCTION")
# This option is not normally shown to the user...
#help="if set, runs an internal verification test and erases any output")
args=parser.parse_args(args=user_input)
ifargs.ifileisNone:
parser.error("you should give an input score set with --scores")
ifargs.cost<0.0orargs.cost>1.0:
parser.error("cost should lie between 0.0 and 1.0")
#parse the score-parser
from..importload
ifargs.parser.lower()in('4column','4col'):
args.parser=load.split_four_column
elifargs.parser.lower()in('5column','5col'):
args.parser=load.split_five_column
else:#try an import
ifargs.parser.find('.')==-1:
parser.error("parser module should be either '4column', '5column' or a valid python function identifier in the format 'module.function': '%s' is invalid"%args.parser)