pycaret.regression.get_metrics#
- pycaret.regression.get_metrics(reset: bool = False, include_custom: bool = True, raise_errors: bool = True) DataFrame[source]#
Returns table of available metrics used in the experiment.
Example
>>> from pycaret.datasets import get_data >>> boston = get_data('boston') >>> from pycaret.regression import * >>> exp_name = setup(data = boston, target = 'medv') >>> all_metrics = get_metrics()
- reset: bool, default = False
When True, will reset all changes made using the
add_metricandremove_metricfunction.- include_custom: bool, default = True
Whether to include user added (custom) metrics or not.
- raise_errors: bool, default = True
If False, will suppress all exceptions, ignoring models that couldn’t be created.
- Returns:
pandas.DataFrame