Machine Learning, Data Science, R Programming, Neural Networks, Towards Data Science.
library( caret ) t = table( results ) print( confusionMatrix( t ) ) ## Confusion Matrix and Statistics ## ## prediction ## actual 0 1 ## 0 76 3 ## 1 1 94 ## ## Accuracy : 0.9770115 ## 95% CI : (0.9421888, 0.9937017) ## No Information Rate : 0.5574713 ## P-Value [Acc > NIR] : < 0.00000000000000022