def __init__(self, metric, **kwargs):
        """
        Accepts a Metric object and evaluates it at each fold.
        """
        Reporter.__init__(self, **kwargs)
        self.metric = metrics.as_ramp_metric(metric)
def __init__ ( self , metric , ** kwargs ) : Reporter . __init__ ( self , ** kwargs ) self . metric = metrics . as_ramp_metric ( metric )
Accepts a Metric object and evaluates it at each fold.