cpdbench.exception.MetricExecutionException
1from cpdbench.exception.CPDExecutionException import CPDExecutionException 2 3 4class MetricExecutionException(CPDExecutionException): 5 """Exception type when the execution of a metric on an algorithm result has failed""" 6 7 standard_msg = 'Error while executing the metric {0} on algorithm {1} (dataset {2})' 8 9 def __init__(self, metric_function, algorithm_function, dataset_function): 10 super().__init__(self.standard_msg.format(metric_function, algorithm_function, dataset_function))
5class MetricExecutionException(CPDExecutionException): 6 """Exception type when the execution of a metric on an algorithm result has failed""" 7 8 standard_msg = 'Error while executing the metric {0} on algorithm {1} (dataset {2})' 9 10 def __init__(self, metric_function, algorithm_function, dataset_function): 11 super().__init__(self.standard_msg.format(metric_function, algorithm_function, dataset_function))
Exception type when the execution of a metric on an algorithm result has failed
Inherited Members
- builtins.BaseException
- with_traceback
- args