Methods to calculate the number of true positives (tp
),
true negatives (tn
), false negatives (fn
),
false positive (fp
), accuracy (acc
),
precision
, recall
(same as sensitivity
),
specificity
, F1
and macroF1
scores.
Each method also accepts an naAs0
argument definiting if
NAs
should be replaced by 0
(default is FALSE
).
Methods tp
, tn
, fp
, fn
, F1
,
acc
and specificity
:
signature(obj = "table")
Methods recall
(sensitivity
), precision
and
macroF1
:
signature(obj = "classifierOutput", type = "character")
signature(obj = "classifierOutput", type = "missing")
signature(obj = "classifierOutput", type = "numeric")
signature(obj = "table")
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.