svm_model <- svm(response ~ ., data = train_data, kernel = "radial", probability = TRUE)
Erreur dans contrasts<-
(*tmp*
, value = contr.funs[1 + isOF[nn]]) :
les contrastes ne peuvent être appliqués qu'aux facteurs ayant au moins deux niveaux.
I got this error message trying to run SDM with SVM in R Had anyone here experienced same before?
svm_model <- svm(response ~ ., data = train_data, kernel = "radial", probability = TRUE) I used this command trying to train the model