pycaret.classification.remove_metric#

pycaret.classification.remove_metric(name_or_id: str)[source]#

Removes a metric from the experiment.

Example

>>> from pycaret.datasets import get_data
>>> juice = get_data('juice')
>>> from pycaret.classification import *
>>> exp_name = setup(data = juice,  target = 'Purchase')
>>> remove_metric('MCC')
name_or_id: str

Display name or ID of the metric.

Returns:

None