class_docstr: A class to store counterfactual examples for one or more inputs
  and feature importance scores.
  
  :param cf_examples_list: A list of CounterfactualExamples instances
  :param local_importance: List of estimated local importance scores. The
      size of the list is the number of input instances, each containing
      feature importance scores for that input.
  :param summary_importance: Estimated global feature importance scores
      based on the input set of CounterfactualExamples instances
code: def __init__(
      self,
      cf_examples_list,
      local_importance=None,
      summary_importance=None,
      version=None,
  ):
      self._cf_examples_list = cf_examples_list
      self._local_importance = local_importance
      self._summary_importance = summary_importance
      self._metadata = {
          "version": version
          if version is not None
          else _SchemaVersions.CURRENT_VERSION
      }
  
imports: import json
  import os
  import jsonschema
  from raiutils.exceptions import UserConfigValidationException
  from dice_ml.constants import _SchemaVersions
  from dice_ml.diverse_counterfactuals import CounterfactualExamples, _DiverseCFV2SchemaConstants
label_desc: Use image node_id 1 to create a new CounterfactualExplanations object  with example: obj = CounterfactualExplanations(cf_examples_list, local_importance, summary_importance, version)