Create setting for the python sklearn SVM (SVC function)
Source:R/SklearnClassifierSettings.R
setSVM.Rd
Create setting for the python sklearn SVM (SVC function)
Arguments
- C
(list) Regularization parameter. The strength of the regularization is inversely proportional to C. Must be strictly positive. The penalty is a squared l2 penalty.
- kernel
(list) Specifies the kernel type to be used in the algorithm. one of ‘linear’, ‘poly’, ‘rbf’, ‘sigmoid’, ‘precomputed’. If none is given ‘rbf’ will be used.
- degree
(list) degree of kernel function is significant only in poly, rbf, sigmoid
- gamma
(list) kernel coefficient for rbf and poly, by default 1/n_features will be taken. ‘scale’, ‘auto’ or float, default=’scale’
- coef0
(list) independent term in kernel function. It is only significant in poly/sigmoid.
- shrinking
(list) whether to use the shrinking heuristic.
- tol
(list) Tolerance for stopping criterion.
- classWeight
(list) Class weight based on imbalance either 'balanced' or NULL
- cacheSize
Specify the size of the kernel cache (in MB).
- seed
A seed for the model