regressoR (version 1.1.8)

svm_model: svm_model

Description

generates the code to create the support vector machines model.

Usage

svm_model(data = "datos.aprendizaje", variable.pred = NULL,
  model.var = "modelo.svm", scale = TRUE, kernel = "linear")

Arguments

data

the name of the learning data.

variable.pred

the name of the variable to be predicted.

model.var

the name of the variable that stores the resulting model.

scale

the scale parameter of the model.

kernel

the kernel parameter of the model.

See Also

svm

Examples

Run this code
# NOT RUN {
library(e1071)
x <- svm_model('iris', 'Petal.Length')
exe(x)
print(modelo.svm)

# }

Run the code above in your browser using DataLab