code: def _compute(
      self, predictions, references, normalize=True, sample_weight=None
  ):
      return {
          "accuracy": float(
              accuracy_score(
                  references,
                  predictions,
                  normalize=normalize,
                  sample_weight=sample_weight,
              )
          )
      }
  
imports: import datasets
  from sklearn.metrics import accuracy_score
  import evaluate
label_desc: Use image node_id 2 for calling the Accuracy obj's underlying member method code with example usage: obj._compute(predictions, references, normalize, sample_weight) and returns: dict