asreview.models.feature_extraction.get_feature_model

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

Get an instance of a feature extraction model from a string.

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

  • *args – Arguments for the feature extraction model.

  • **kwargs – Keyword arguments for thefeature extraction model.

Returns:

BaseFeatureExtraction – Initialized instance of feature extraction algorithm.