Bob 2.0 implementation of the biometrics evaluation metrics for anti-spoofing methods
Algorithms have at least one input and one output. All algorithm endpoints are organized in groups. Groups are used by the platform to indicate which inputs and outputs are synchronized together. The first group is automatically synchronized with the channel defined by the block in which the algorithm is deployed.
Endpoint Name | Data Format | Nature |
---|---|---|
scores_test | system/float/1 | Input |
label_test | system/text/1 | Input |
Endpoint Name | Data Format | Nature |
---|---|---|
scores_dev | system/float/1 | Input |
label_dev | system/text/1 | Input |
Analyzers may produce any number of results. Once experiments using this analyzer are done, you may display the results or filter experiments using criteria based on them.
Name | Type |
---|---|
test_frr | float32 |
test_positives | int32 |
dev_eer_threshold | float32 |
dev_positives | int32 |
dev_roc | plot/isoroc/1 |
test_hter | float32 |
dev_negatives | int32 |
test_scores | plot/bar/1 |
dev_scores | plot/bar/1 |
dev_far | float32 |
test_roc | plot/isoroc/1 |
test_negatives | int32 |
test_far | float32 |
dev_frr | float32 |
dev_eer | float32 |
Parameters allow users to change the configuration of an algorithm when scheduling an experiment
Name | Description | Type | Default | Range/Choices |
---|---|---|---|---|
n_bins_negatives | Number of histogram bins for negative scores | uint32 | 100 | |
n_bins_positives | Number of histogram bins for positive scores | uint32 | 20 |
The code for this algorithm in Python
The ruler at 80 columns indicate suggested POSIX line breaks (for readability).
The editor will automatically enlarge to accomodate the entirety of your input
Use keyboard shortcuts for search/replace and faster editing. For example, use Ctrl-F (PC) or Cmd-F (Mac) to search through this box
An algorithm that implements standard metrics for antispoofing evaluation.
Specifically, it outputs, for the development set, the following quantities:
And for the test set:
This implementation relies on the 'measure' package from the Bob library. In particular, you may check the package bob.measure for more details.
Updated | Name | Databases/Protocols | Analyzers | |||
---|---|---|---|---|---|---|
pkorshunov/pkorshunov/speech-antispoofing-baseline/1/btas2016-baseline-pa | avspoof/1@physicalaccess_antispoofing | pkorshunov/simple_antispoofing_analyzer/2 |
This table shows the number of times this algorithm has been successfully run using the given environment. Note this does not provide sufficient information to evaluate if the algorithm will run when submitted to different conditions.