Description Usage Arguments Examples
View source: R/measures_binaryclass.R
Defined as: 2 * tp/ (sum(truth == positive) + sum(response == positive))
1 | F1(truth, response, positive)
|
truth |
vector of true values |
response |
vector of predicted values |
positive |
positive class |
1 2 3 4 5 6 7 |
[1] 0.4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.