Description Usage Format Details Fields Methods Examples
svmsm
is a svm adapter. It makes the use of the universal distirbution easier
1 | # svm <- svmsm$new()
|
An R6Class
generator object
It construct a svm model adapter for the objects codesvm of the package e1071
and it inherits the class suurogate model sm
.
The inheritance of the class sm
is required when one want to use the universal distribution
model_name
:"svm"
svmsm$new(x=NULL,y=NULL,parameters = NULL )
Creates a new svmsm
object.
train()
train the surrogate model.
predict(newdata)
it predicts the new data.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.