View source: R/070_Hyperparameters.R
| setup_LinearSVM | R Documentation |
Setup hyperparameters for LinearSVM training.
setup_LinearSVM(cost = 1, ifw = FALSE)
cost |
(Tunable) Numeric (0, Inf): Cost of constraints violation. |
ifw |
(Tunable) Logical: If TRUE, use Inverse Frequency Weighting in classification. |
Get more information from e1071::svm.
LinearSVMHyperparameters object.
EDG
linear_svm_hyperparams <- setup_LinearSVM(cost = 0.5, ifw = TRUE)
linear_svm_hyperparams
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.