powered by
generates the code to create the support vector machines model.
svm_model(data = "datos.aprendizaje", variable.pred = NULL, model.var = "modelo.svm", scale = TRUE, kernel = "linear")
the name of the learning data.
the name of the variable to be predicted.
the name of the variable that stores the resulting model.
the scale parameter of the model.
the kernel parameter of the model.
svm
# NOT RUN { library(e1071) x <- svm_model('iris', 'Petal.Length') exe(x) print(modelo.svm) # }
Run the code above in your browser using DataLab