setup_LinearSVM: Setup LinearSVM Hyperparameters

View source: R/070_Hyperparameters.R

setup_LinearSVMR Documentation

Setup LinearSVM Hyperparameters

Description

Setup hyperparameters for LinearSVM training.

Usage

setup_LinearSVM(cost = 1, ifw = FALSE)

Arguments

cost

(Tunable) Numeric (0, Inf): Cost of constraints violation.

ifw

(Tunable) Logical: If TRUE, use Inverse Frequency Weighting in classification.

Details

Get more information from e1071::svm.

Value

LinearSVMHyperparameters object.

Author(s)

EDG

Examples

linear_svm_hyperparams <- setup_LinearSVM(cost = 0.5, ifw = TRUE)
linear_svm_hyperparams

rtemis documentation built on Oct. 20, 2026, 1:06 a.m.