TabularPredictor.model_names#

TabularPredictor.model_names(stack_name: str | None = None, level: int | None = None, can_infer: bool | None = None, models: List[str] | None = None, persisted: bool | None = None) List[str][source]#

Returns the list of model names trained in this predictor object.

Parameters:
  • stack_name (str, default = None) – If specified, returns only models under a given stack name.

  • level (int, default = None) – If specified, returns only models at the given stack level.

  • can_infer (bool, default = None) – If specified, returns only models that can/cannot infer on new data.

  • models (List[str], default = None) – The list of model names to consider. If None, considers all models.

  • persisted (bool, default = None) – If None: no filtering will occur based on persisted status If True: will return only the models that are persisted in memory via predictor.persist() If False: will return only the models that are not persisted in memory via predictor.persist()

Return type:

List of model names