Description Usage Arguments Value
View source: R/hyfe_performance.R
Evaluate Hyfe's performance based on a set of labelled sounds.
1 2 3 4 5 6 7 8 9 10 11 12 | hyfe_performance(
detections,
labels,
offsets,
offset_cutoff = 3,
prediction_threshold = 0.7,
n3_cutoff = 10,
quality_cutoff = 0.95,
remove_tests = NULL,
toplot = TRUE,
verbose = TRUE
)
|
detections |
A |
labels |
A |
offsets |
A |
offset_cutoff |
A number indicating the allowable difference, in seconds, between a Hyfe detection and a label timestamp. |
prediction_threshold |
Cough prediction score threshold. |
n3_cutoff |
Minimum number of category 3 coughs that must be labeled for a test in order for that test to be included in the calculation of performance metrics. |
quality_cutoff |
Minimum quality of a test in order for that test to be included in the estimation of performance metrics. Quality is defined as the fraction of cough-seconds that are category 3. |
remove_tests |
Numeric vector providing the IDs for any tests you want to remove from the performance analysis. |
toplot |
Plot diagnostic plots? |
verbose |
Plot status updates? |
A list with various summaries of the results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.