asreview.models.classifiers.LogisticClassifier

class asreview.models.classifiers.LogisticClassifier(C=1.0, class_weight=1.0, random_state=None, n_jobs=1)[source]

Logistic regression classifier (logistic).

The Logistic regressions classifier is an implementation based on the sklearn Logistic regressions classifier.

Parameters:
  • C (float) – Parameter inverse to the regularization strength of the model.

  • class_weight (float) – Class weight of the inclusions.

  • random_state (int, asreview.utils.SeededRandomState) – Random state for the model.

  • n_jobs (int) – Number of CPU cores used.

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.