TabularPredictor.unpersist

TabularPredictor.unpersist(models='all') List[str][source]

Unpersist models in memory for reduced memory usage. If models are not persisted in memory, they are loaded from disk every time they are asked to make predictions. Note: Another way to reset the predictor and unpersist models is to reload the predictor from disk via predictor = TabularPredictor.load(predictor.path).

Parameters:

models (list of str or str, default = 'all') – Model names of models to unpersist. If ‘all’ then all models are unpersisted. Valid models are listed in this predictor by calling predictor.model_names(persisted=True).

Return type:

List of unpersisted model names.