LR_test | R Documentation |
Iterates through all pairings in a set of test speakers and calculates the likelihood ratio for each speaker-pair. GMM-UBM
and MVKD
-based approaches available for use.
LR_test(
data,
test_speakers = NULL,
bg_speakers = NULL,
data_col = NULL,
test_data = NULL,
test_data_col = NULL,
cross_full = TRUE,
bg_from = c("data", "test_data", "both"),
mode = c("gmm_ubm", "mvkd"),
...
)
data |
A data frame. The first column identifies speakers. |
test_speakers |
(optional) A vector. Specifies the set of speakers for which LR calculations should be derived. Takes all speakers from |
bg_speakers |
(optional) A vector. Specifies the set of speakers to form the background model for LR calculations. Equal to |
data_col |
(optional) A vector. Specifies which columns in |
test_data |
(optional) A data frame in the same format as |
test_data_col |
(optional) A vector. Specifies which columns in |
cross_full |
(optional) Boolean. When |
bg_from |
(optional) "data" (default), "test_data" or "both". Determines where the background data come from. "both" pools data from the same speakers in |
mode |
"gmm_ubm" (default) or "mvkd". |
... |
Additional arguments, e.g. |
A named list of 3 items:
likelihood_ratio_matrix
: A data frame. Rows and columns are named after the speaker identifiers. Each row and column represents a speaker as suspect and offender respectively, and each cell contains a single LR score (in natural log).
cllr
: Numeric. Reports the logLR cost.
eer
: Numeric. Reports the equal error rate (between 0 and 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.