class_docstr: CEM_MAFImageExplainer is a Contrastive Image explainer that leverages Monotonic
  Attribute Functions. The main idea here is to explain images using high level semantically meaningful attributes 
  that may either be directly available or learned through supervised or unsupervised methods. [#]_
  
  References:
      .. [#] `Ronny Luss, Pin-Yu Chen, Amit Dhurandhar, Prasanna Sattigeri,
         Karthikeyan Shanmugam, Chun-Chen Tu, "Generating Contrastive
         Explanations with Monotonic Attribute Functions," 2019.
         <https://arxiv.org/abs/1905.12698>`_
class_docstr_tok: ["CEM_MAFImageExplainer","is","a","Contrastive","Image","explainer","that","leverages","Monotonic","Attribute","Functions",".","The","main","idea","here","is","to","explain","images","using","high","level","semantically","meaningful","attributes","that","may","either","be","directly","available","or","learned","through","supervised","or","unsupervised","methods",".","[","#","]","_","References",":","..","[","#","]","`","Ronny","Luss",",","Pin-Yu","Chen",",","Amit","Dhurandhar",",","Prasanna","Sattigeri",",","Karthikeyan","Shanmugam",",","Chun-Chen","Tu",",","``","Generating","Contrastive","Explanations","with","Monotonic","Attribute","Functions",",","''","2019",".","<","https",":","\/\/arxiv.org\/abs\/1905.12698",">","`","_"]
docstr: Initialize image explainer.
  
  Currently accepting model input which is an ImageClassifier.
docstr_tok: ["Initialize","image","explainer",".","Currently","accepting","model","input","which","is","an","ImageClassifier","."]
code: def __init__(self, model, attributes, aix360_path):
      """Initialize image explainer.
  
      Currently accepting model input which is an ImageClassifier.
      """
      super(CEM_MAFImageExplainer, self).__init__()
      self._wbmodel = model
      self._attributes = attributes
      self._aix360_path = aix360_path
  
file_path: AIX360/aix360/algorithms/contrastive/CEM_MAF.py
imports: from __future__ import print_function
  from aix360.algorithms.lwbe import LocalWBExplainer
  from aix360.algorithms.contrastive.CEM_MAF_aen_PN import AEADEN
  from aix360.algorithms.contrastive.CEM_MAF_aen_PP import AEADEN
  from tensorflow.contrib.keras.api.keras.models import model_from_json
  import os
  import sys
  import random
  import time
  import numpy
  from skimage.segmentation import slic
label_desc: Use image node_id 1 to create a new CEM_MAFImageExplainer object from inherited base classes: LocalWBExplainer with example: obj = CEM_MAFImageExplainer(model, attributes, aix360_path)