Last chance! 50% off unlimited learning
Sale ends in
Usually this has not to be done by the user since liquidSVM harnesses garbage collection offered by R.
# S3 method for liquidSVM
clean(model, warn = TRUE, ...)
the SVM model as returned by init.liquidSVM
if TRUE
issue warning if the model already was deleted
not used at the moment
# NOT RUN {
## Multiclass classification
modelIris <- svm(Species ~ ., iris)
y <- predict(modelIris, iris)
## Least Squares
modelTrees <- svm(Height ~ Girth + Volume, trees)
y <- predict(modelTrees, trees)
plot(trees$Height, y)
test(modelTrees, trees)
clean(modelTrees)
clean(modelIris)
# now predict(modelTrees, ...) would not be possible any more
# }
Run the code above in your browser using DataLab