DEVELOPMENT...
Issue | #Downvotes for this reason | By |
---|
C | Regularization parameter. The strength of the regularization is inversely proportional to C. Must be strictly positive multi_class : {'ovr', 'crammer_singer'}, default='ovr' Determines the multi-class strategy if `y` contains more than two classes ``"ovr"`` trains n_classes one-vs-rest classifiers, while ``"crammer_singer"`` optimizes a joint objective over all classes While `crammer_singer` is interesting from a theoretical perspective as it is consistent, it is seldom used in practice as it rarely leads to better accuracy and is more expensive to compute If ``"crammer_singer"`` is chosen, the options loss, penalty and dual will be ignored | default: 1.0 |
class_weight | Set the parameter C of class i to ``class_weight[i]*C`` for SVC. If not given, all classes are supposed to have weight one The "balanced" mode uses the values of y to automatically adjust weights inversely proportional to class frequencies in the input data as ``n_samples / (n_classes * np.bincount(y))`` | default: null |
dual | Select the algorithm to either solve the dual or primal optimization problem. Prefer dual=False when n_samples > n_features | default: true |
fit_intercept | Whether to calculate the intercept for this model. If set to false, no intercept will be used in calculations (i.e. data is expected to be already centered) | default: true |
intercept_scaling | When self.fit_intercept is True, instance vector x becomes ``[x, self.intercept_scaling]``, i.e. a "synthetic" feature with constant value equals to intercept_scaling is appended to the instance vector The intercept becomes intercept_scaling * synthetic feature weight Note! the synthetic feature weight is subject to l1/l2 regularization as all other features To lessen the effect of regularization on synthetic feature weight (and therefore on the intercept) intercept_scaling has to be increased | default: 1 |
loss | default: "squared_hinge" | |
max_iter | The maximum number of iterations to be run. | default: 1000 |
multi_class | default: "ovr" | |
penalty | default: "l2" | |
random_state | Controls the pseudo random number generation for shuffling the data for
the dual coordinate descent (if ``dual=True``). When ``dual=False`` the
underlying implementation of :class:`LinearSVC` is not random and
``random_state`` has no effect on the results
Pass an int for reproducible output across multiple function calls
See :term:`Glossary | default: null |
tol | Tolerance for stopping criteria | default: 0.0001 |
verbose | Enable verbose output. Note that this setting takes advantage of a per-process runtime setting in liblinear that, if enabled, may not work properly in a multithreaded context | default: 0 |