Machine Learning, Lda, Dimensionality Reduction, Neural Networks, Towards Data Science.
new_X_train$class == "opel" ) new_X_train = cbind( new_X_train, van = new_X_train$class == "van" ) new_X_train = cbind( new_X_train, bus = new_X_train$class == "bus" ) new_X_train = new_X_train[, !( names( new_X_train ) %in% c( "class" ) ) ] Before to model, we need to transform the dataset to be