asreview.models.classifiers.SVMClassifier

class asreview.models.classifiers.SVMClassifier(gamma='auto', class_weight=0.249, C=15.4, kernel='linear', random_state=None)[source]

Support vector machine classifier (svm).

The Support Vector Machine classifier is an implementation based on the sklearn Support Vector Machine classifier.

Parameters:
  • gamma (str) – Gamma parameter of the SVM model.

  • class_weight (float) – class_weight of the inclusions.

  • C (float) – C parameter of the SVM model.

  • kernel (str) – SVM kernel type.

  • random_state (int, asreview.utils.SeededRandomState) – State of the RNG.

Attributes

default_param

Get the default parameters of the model.

label

name

param

Get the (assigned) parameters of the model.

Methods

fit(X, y)

Fit the model to the data.

full_hyper_space()

hyper_space()

predict_proba(X)

Get the inclusion probability for each sample.