pycaret.clustering.models#

pycaret.clustering.models(internal: bool = False, raise_errors: bool = True) DataFrame[source]#

Returns table of models available in the model library.

Example

>>> from pycaret.datasets import get_data
>>> jewellery = get_data('jewellery')
>>> from pycaret.clustering import *
>>> exp_name = setup(data = jewellery)
>>> all_models = models()
internal: bool, default = False

If True, will return extra columns and rows used internally.

raise_errors: bool, default = True

If False, will suppress all exceptions, ignoring models that couldn’t be created.

Returns:

pandas.DataFrame