class_docstr: Compiler for Feature Importance Ranking
  
  Param:
      package (str, Optional): component package name
      module (str, Optional): component module name
      class (str): component class name
  
  Attr:
      y_true_file (str): path to test ground-true sample data
      y_pred_file (str): path to test predict sample data
      labels_file (str): path to a label json file
  
  Example:
      "component": {
          "package": "xai",
          "module": "compiler",
          "class": "ClassificationEvaluationResult",
          "attr": {
              "y_true_file": "./sample_input/y_true.csv",
              "y_pred_file": "./sample_input/y_pred.csv",
              "labels_file": "./sample_input/labels.json",
          }
      }
class_docstr_tok: ["Compiler","for","Feature","Importance","Ranking","Param",":","package","(","str",",","Optional",")",":","component","package","name","module","(","str",",","Optional",")",":","component","module","name","class","(","str",")",":","component","class","name","Attr",":","y_true_file","(","str",")",":","path","to","test","ground-true","sample","data","y_pred_file","(","str",")",":","path","to","test","predict","sample","data","labels_file","(","str",")",":","path","to","a","label","json","file","Example",":","``","component","''",":","{","``","package","''",":","``","xai","''",",","``","module","''",":","``","compiler","''",",","``","class","''",":","``","ClassificationEvaluationResult","''",",","``","attr","''",":","{","``","y_true_file","''",":","``",".\/sample_input\/y_true.csv","''",",","``","y_pred_file","''",":","``",".\/sample_input\/y_pred.csv","''",",","``","labels_file","''",":","``",".\/sample_input\/labels.json","''",",","}","}"]
docstr: Init
  
  Args:
      dictionary (dict): attribute to set
docstr_tok: ["Init","Args",":","dictionary","(","dict",")",":","attribute","to","set"]
code: def __init__(self, dictionary):
      """
      Init
  
      Args:
          dictionary (dict): attribute to set
      """
      super(ClassificationEvaluationResult, self).__init__(
          dictionary, schema=self.schema
      )
  
file_path: contextual-ai/xai/compiler/evaluation.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import json
  import numpy
  from xai.compiler.base import Dict2Obj
  from xai.constants import METRIC_CM
  from xai.formatter import Report
  from xai.model.evaluation.result_compiler import ResultCompiler
label_desc: Use image node_id 1 to create a new ClassificationEvaluationResult object from inherited base classes: Dict2Obj with example: obj = ClassificationEvaluationResult(dictionary)