powered by
Calculates the overall CSMF accuracy given any number of predicted cases and any number of observed cases.
internalGetCSMFAcc(pred, obs)
Chracter vector of predicted causes for each case.
Character vector of observed causes for each case.
csmfa Numeric value of the overall CSMF accuracy (see Methods documentation).
Other internal functions: internalGetCSMFMaxError(), internalGetCauseMetrics(), internalGetMetrics(), internalNBC()
internalGetCSMFMaxError()
internalGetCauseMetrics()
internalGetMetrics()
internalNBC()
# NOT RUN { library(nbc4va) pred <- c("HIV", "Stroke", "HIV", "Stroke") obs <- c("HIV", "HIV", "Stroke", "Stroke") csmfa <- nbc4va::internalGetCSMFAcc(pred, obs) # }
Run the code above in your browser using DataLab