class_docstr: Base class for Agreement metrics.
class_docstr_tok: ["Base","class","for","Agreement","metrics","."]
docstr: General method to obtain the metric.
  
  Args:
      kwargs: Optional arguments that could be passed to the metric.
  
  Returns:
      metric: Metric result that will be stored in the `AgreementMetricResult`.
docstr_tok: ["General","method","to","obtain","the","metric",".","Args",":","kwargs",":","Optional","arguments","that","could","be","passed","to","the","metric",".","Returns",":","metric",":","Metric","result","that","will","be","stored","in","the","`","AgreementMetricResult","`","."]
code: def compute(self) -> float:
      """General method to obtain the metric.
  
      Args:
          kwargs: Optional arguments that could be passed to the metric.
  
      Returns:
          metric: Metric result that will be stored in the `AgreementMetricResult`.
      """
      data = self._pre_process(self._dataset)
      return self._compute(data)
  
imports: from abc import ABC, abstractmethod
  from typing import TYPE_CHECKING, Any, Callable, Dict, Hashable, List, Tuple, Union
  import pandas
  from argilla.client.feedback.schemas.remote.shared import RemoteSchema
  from argilla.pydantic_v1 import BaseModel
label_desc: Use image node_id 2 for calling the AnnotationTaskMetricBase obj's underlying member method code with example usage: obj.compute() and returns: self