wrapper_svm | R Documentation |
SVM wrapper for CCI
wrapper_svm(
formula,
data,
train_indices,
test_indices,
metric,
metricfunc = NULL,
...
)
formula |
Model formula |
data |
Data frame |
train_indices |
Indices for training data |
test_indices |
Indices for testing data |
metric |
Type of metric ("RMSE" or "Kappa") |
metricfunc |
Optional user-defined function to calculate a custom performance metric. |
... |
Additional arguments passed to e1071::svm |
Performance metric (RMSE for continuous, Kappa for classification)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.