asreview.models.classifiers.base.BaseTrainClassifier

class asreview.models.classifiers.base.BaseTrainClassifier[source]

Base model, abstract class to be implemented by derived ones.

All the non-abstract methods are okay if they are not implemented. There is a distinction between model parameters, which are needed during model creation and fit parameters, which are used during the fitting process. Fit parameters can be distinct from fit_kwargs (which are passed to the fit function).

Attributes

default_param

Get the default parameters of the model.

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.