asreview.models.classifiers.get_classifier

asreview.models.classifiers.get_classifier(name, *args, random_state=None, **kwargs)[source]

Get an instance of a model from a string.

Parameters:
  • name (str) – Name of the model.

  • *args – Arguments for the model.

  • **kwargs – Keyword arguments for the model.

Returns:

BaseFeatureExtraction – Initialized instance of classifier.