class_docstr: An experiment instance used to log values
class_docstr_tok: ["An","experiment","instance","used","to","log","values"]
docstr: Log classification report
  
  Examples
  --------
  >>> from sklearn_evaluation import SQLiteTracker
  >>> tracker = SQLiteTracker("experiments.db")
  >>> exp = tracker.new_experiment()
  >>> exp.log_classification_report([1, 1, 0, 0], [1, 0, 1, 0]) # doctest: +SKIP
  >>> data = tracker.get(exp.uuid)
  >>> data['classification_report'] # doctest: +SKIP
docstr_tok: ["Log","classification","report","Examples","--","--","--","--",">",">",">","from","sklearn_evaluation","import","SQLiteTracker",">",">",">","tracker","=","SQLiteTracker","(","``","experiments.db","''",")",">",">",">","exp","=","tracker.new_experiment","(",")",">",">",">","exp.log_classification_report","(","[","1",",","1",",","0",",","0","]",",","[","1",",","0",",","1",",","0","]",")","#","doctest",":","+SKIP",">",">",">","data","=","tracker.get","(","exp.uuid",")",">",">",">","data","[","'classification_report","'","]","#","doctest",":","+SKIP"]
code: def log_classification_report(
      self,
      y_true,
      y_pred,
      *,
      target_names=None,
      sample_weight=None,
      zero_division=0,
  ):
      """Log classification report
  
      Examples
      --------
      >>> from sklearn_evaluation import SQLiteTracker
      >>> tracker = SQLiteTracker("experiments.db")
      >>> exp = tracker.new_experiment()
      >>> exp.log_classification_report([1, 1, 0, 0], [1, 0, 1, 0]) # doctest: +SKIP
      >>> data = tracker.get(exp.uuid)
      >>> data['classification_report'] # doctest: +SKIP
      """
      cr = plot.ClassificationReport.from_raw_data(
          y_true=y_true,
          y_pred=y_pred,
          target_names=target_names,
          sample_weight=sample_weight,
          zero_division=zero_division,
      )
  
      self._tracker.upsert(
          self._uuid, {"classification_report": cr._get_data()}
      )
      return cr
  
imports: from collections.abc import Mapping
  from uuid import uuid4
  import sqlite3
  import json
  import importlib
  import pandas
  from jinja2 import Template
  from sklearn_evaluation.table import Table
  from sklearn_evaluation.report.serialize import try_serialize_figures, figure2html
  from sklearn_evaluation.telemetry import SKLearnEvaluationLogger
  from sklearn_evaluation.nb.NotebookCollection import add_compare_tab, tabs_html_from_content, HTMLMapping
  from sklearn_evaluation import plot
label_desc: Use image node_id 5 for calling the Experiment obj's underlying member method code with example usage: obj.log_classification_report(y_true, y_pred) and returns: cr