powered by
An error matrix reports the true/false potisitve/negative rates.
errorMatrix(actual, predicted, percentage=TRUE, digits=ifelse(percentage,1,3), count=FALSE)
a vector of true values.
a vector of predicted values.
return percentages.
the number of digits to round results.
return counts.
Package home page: https://rattle.togaware.com
# NOT RUN { # } # NOT RUN { errorMatrix(model) # }
Run the code above in your browser using DataLab