- class asreview.models.classifiers.base.BaseTrainClassifier
Base model, abstract class to be implemented by derived ones.
All the non-abstract methods are okay if they are not implemented. All functions dealing with hyperparameters can be ignore if you don’t use hyperopt for hyperparameter tuning. 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).
Get the default parameters of the model.
Get the (assigned) parameters of the model.
Fit the model to the data.
Get a hyperparameter space to use with hyperopt.
Get the inclusion probability for each sample.