class_docstr: Interpretation methods for classification models.
docstr: Print scikit-learn classification report
docstr_tok: ["Print","scikit-learn","classification","report"]
code: def print_classification_report(self):
      "Print scikit-learn classification report"
      _, targs, decoded = self.learn.get_preds(
          dl=self.dl,
          with_decoded=True,
          with_preds=True,
          with_targs=True,
          act=self.act,
      )
      d, t = flatten_check(decoded, targs)
      names = [str(v) for v in self.vocab]
      print(
          skm.classification_report(
              t,
              d,
              labels=list(self.vocab.o2i.values()),
              target_names=names,
          )
      )
  
imports: from __future__ import annotations
  from .data.all import *
  from .optimizer import *
  from .learner import *
  from .tabular.core import *
  import sklearn.metrics
label_desc: Use image node_id 5 for calling the ClassificationInterpretation obj's underlying member method code with example usage: obj.print_classification_report() without return types