class_docstr: The Strategy interface declares operations common to all
  supported report output.
class_docstr_tok: ["The","Strategy","interface","declares","operations","common","to","all","supported","report","output","."]
docstr: Add error analysis for classification
  
  Args:
      mode (str): Model Model - classification/regression model
      error_stats (dict): A dictionary maps the label to its aggregated statistics
      stats_type (str): The defined stats_type for statistical analysis
      k (int): The k value of the defined stats_type
      top (int): the number of top explanation to display
      notes(str): text to explain the block
docstr_tok: ["Add","error","analysis","for","classification","Args",":","mode","(","str",")",":","Model","Model","-","classification\/regression","model","error_stats","(","dict",")",":","A","dictionary","maps","the","label","to","its","aggregated","statistics","stats_type","(","str",")",":","The","defined","stats_type","for","statistical","analysis","k","(","int",")",":","The","k","value","of","the","defined","stats_type","top","(","int",")",":","the","number","of","top","explanation","to","display","notes","(","str",")",":","text","to","explain","the","block"]
code: def draw_error_analysis(
      self,
      notes: str,
      *,
      mode: str,
      error_stats: dict,
      stats_type: str,
      k: int,
      top: int = 15,
  ):
      """
      Add error analysis for classification
  
      Args:
          mode (str): Model Model - classification/regression model
          error_stats (dict): A dictionary maps the label to its aggregated statistics
          stats_type (str): The defined stats_type for statistical analysis
          k (int): The k value of the defined stats_type
          top (int): the number of top explanation to display
          notes(str): text to explain the block
      """
      pass
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from abc import ABC, abstractmethod
  from typing import Tuple, Dict, List
  import numpy
  from xai.data import explorer
  from xai.formatter.report.section import OverviewSection, DetailSection
label_desc: Use image node_id 29 for calling the Writer obj's underlying member method code with example usage: obj.draw_error_analysis(notes) without return types