View source: R/summary-sparse.R
conf_fscore | R Documentation |
This function computes F1 score for sparse element of the true coefficients given threshold.
conf_fscore(x, y, ...)
## S3 method for class 'summary.bvharsp'
conf_fscore(x, y, truth_thr = 0, ...)
x |
|
y |
True inclusion variable. |
... |
not used |
truth_thr |
Threshold value when using non-sparse true coefficient matrix. By default, |
The F1 score is computed by
F_1 = \frac{2 precision \times recall}{precision + recall}
F1 score in confusion table
confusion()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.