TabularPredictor.unpersist_models#

TabularPredictor.unpersist_models(models='all') list[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.get_model_names_persisted().

Return type

List of unpersisted model names.