class_docstr: Examples
  --------
  .. plot:: ../examples/ClassificationReport.py
code: def from_raw_data(
      cls,
      y_true,
      y_pred,
      *,
      target_names=None,
      sample_weight=None,
      zero_division=0,
  ):
      # pass matrix=False so we don't emit the future warning
      return cls(
          y_true,
          y_pred,
          target_names=target_names,
          sample_weight=sample_weight,
          zero_division=zero_division,
          matrix=False,
          keys=False,
      )
  
imports: from warnings import warn
  from pathlib import Path
  import json
  import numpy
  import matplotlib.pyplot
  from sklearn.metrics import classification_report
  from ..telemetry import SKLearnEvaluationLogger
  from sklearn_evaluation.plot.classification import _add_values_to_matrix
  from sklearn_evaluation.util import default_heatmap
  from sklearn_evaluation.plot.plot import Plot
  from sklearn_evaluation.plot import _matrix
  from sklearn_evaluation import __version__
  from ploomber_core.exceptions import modify_exceptions
label_desc: Use image node_id 6 for calling the ClassificationReport obj's underlying member method code with example usage: obj.from_raw_data(cls, y_true, y_pred) and returns: cls