Machine Learning, Lda, Dimensionality Reduction, Neural Networks, Towards Data Science.
test ) %in% c( "class" ) ) ] model.results = predict( model, X_test ) # Results - Confusion Matrix library( caret ) t = table( model.results$class, test$class ) print( confusionMatrix( t ) ) ## Confusion Matrix and Statistics ## ## ## bus opel van ## bus 87 5 0 ## opel 2 75 0 ## van 0 5 78 ## ##