evalml.utils.get_importable_subclasses

evalml.utils.get_importable_subclasses(base_class, used_in_automl=True)[source]

Get importable subclasses of a base class. Used to list all of our estimators, transformers, components and pipelines dynamically.

Parameters
  • base_class (abc.ABCMeta) – Base class to find all of the subclasses for.

  • args (list) – Args used to instantiate the subclass. [{}] for a pipeline, and [] for all other classes.

  • used_in_automl – Not all components/pipelines/estimators are used in automl search. If True, only include those subclasses that are used in the search. This would mean excluding classes related to ExtraTrees, ElasticNet, and Baseline estimators.

Returns

List of subclasses.