class_docstr: Base class for Agreement metrics.
class_docstr_tok: ["Base","class","for","Agreement","metrics","."]
docstr: Optional data preprocessing. By default it just passes the data to the _compute method.
  
  Args:
      data: annotated dataset.
      kwargs: optional arguments to be passed to the metric.
  
  Returns:
      data: dataset prepared for the _compute method.
docstr_tok: ["Optional","data","preprocessing",".","By","default","it","just","passes","the","data","to","the","_compute","method",".","Args",":","data",":","annotated","dataset",".","kwargs",":","optional","arguments","to","be","passed","to","the","metric",".","Returns",":","data",":","dataset","prepared","for","the","_compute","method","."]
code: def _pre_process(self, data: FormattedResponses) -> Any:
      """Optional data preprocessing. By default it just passes the data to the _compute method.
  
      Args:
          data: annotated dataset.
          kwargs: optional arguments to be passed to the metric.
  
      Returns:
          data: dataset prepared for the _compute method.
      """
      return 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 3 for calling the AnnotationTaskMetricBase obj's underlying member method code with example usage: obj._pre_process(data) and returns: data