Machine Learning, Lda, Dimensionality Reduction, Neural Networks, Towards Data Science.
reducing, neural network model will be applied to classification task. The procedure here is almost the same as the previous one. Take a look at it. # New Dataset new_X_train = as.matrix( X_train[,1:18] ) %*% model$scaling new_X_train = as.data.frame( new_X_train ) new_X_train$class = X_train$class