TabularPredictor.model_names

TabularPredictor.model_names(stack_name: str = None, level: int = None, can_infer: bool = None, models: list[str] = None, persisted: bool = 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