cohens_kappa | R Documentation |
‘cohens_kappa()' is a metric scoring function that returns the Cohen’s Kappa statistic. Not an exported function.
cohens_kappa(TP, TN, FP, FN)
TP |
- [scalar] True Positives |
TN |
- [scalar] True Negatives |
FP |
- [scalar] False Positives |
FN |
- [scalar] False Negatives |
This function takes integer counts for True Positive ‘TP', True Negative 'TN', False Positive 'FP', and False Negative 'FN' values and returns the Cohen’s Kappa. This statistic measure the agreement between observations and predictions. See: https://en.wikipedia.org/wiki/Cohen
[scalar] Cohen's Kappa statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.