Machine Learning, Lda, Dimensionality Reduction, Neural Networks, Towards Data Science.
Hence, the dataset is ready for multi-class model. # Model Neural Network library( neuralnet ) n = names( new_X_train ) f = as.formula( "opel+van+bus ~ LD1+LD2" ) nn = neuralnet( f, new_X_train, hidden = 3, linear.output = FALSE, lifesign = "full", threshold = 0.02, stepmax = 1e6 ) ## hidden: 3