class_docstr: Examples
  --------
  .. plot:: ../examples/ClassificationReport.py
code: def from_dump(cls, path):
      data = json.loads(Path(path).read_text(encoding="utf-8"))
      return cls(
          matrix=np.array(data["matrix"]),
          keys=data["keys"],
          target_names=data["target_names"],
          y_true=None,
          y_pred=None,
      )
  
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 5 for calling the ClassificationReport obj's underlying member method code with example usage: obj.from_dump(cls, path) and returns: cls