powered by
Setup hyperparameters for LinearSVM training.
setup_LinearSVM(cost = 1, ifw = FALSE)
LinearSVMHyperparameters object.
(Tunable) Numeric (0, Inf): Cost of constraints violation.
(Tunable) Logical: If TRUE, use Inverse Frequency Weighting in classification.
EDG
Get more information from e1071::svm.
linear_svm_hyperparams <- setup_LinearSVM(cost = 0.5, ifw = TRUE) linear_svm_hyperparams
Run the code above in your browser using DataLab