/ src / evidently / legacy / calculation_engine / metric_implementation.py
metric_implementation.py
 1  import abc
 2  
 3  
 4  class MetricImplementation:
 5      @abc.abstractmethod
 6      def calculate(self, context, data):
 7          raise NotImplementedError()
 8  
 9      @classmethod
10      @abc.abstractmethod
11      def supported_engines(cls):
12          raise NotImplementedError()