Machine Learning, Lda, Dimensionality Reduction, Neural Networks, Towards Data Science.
each, respectively. With the datasets ready, we are able to apply LDA over the training dataset. # Model Discriminant Analysis library( MASS ) model = lda( class ~ ., data = X_train ) # Ploting LDA Model projected_data = as.matrix( X_train[, 1:18] ) %*% model$scaling plot( projected_data, col =