class_docstr: Base class for discrete data. 
class_docstr_tok: ["Base","class","for","discrete","data","."]
docstr: Extracts examples for a concept and transforms them to the desired format.
  
  Args:
    concept: Name of a concept. Names for the folder containing data for that
      concept. Path is fetched based on the source_dir used by the activation
      generator
  
  Returns:
        data_parsed:
          Examples from the data folder. Format is according to the
          load_data() and transform_data() functions.
docstr_tok: ["Extracts","examples","for","a","concept","and","transforms","them","to","the","desired","format",".","Args",":","concept",":","Name","of","a","concept",".","Names","for","the","folder","containing","data","for","that","concept",".","Path","is","fetched","based","on","the","source_dir","used","by","the","activation","generator","Returns",":","data_parsed",":","Examples","from","the","data","folder",".","Format","is","according","to","the","load_data","(",")","and","transform_data","(",")","functions","."]
code: def get_examples_for_concept(self, concept):
      """Extracts examples for a concept and transforms them to the desired format.
  
      Args:
        concept: Name of a concept. Names for the folder containing data for that
          concept. Path is fetched based on the source_dir used by the activation
          generator
  
      Returns:
            data_parsed:
              Examples from the data folder. Format is according to the
              load_data() and transform_data() functions.
  
      """
      data = self.load_data(concept)
      data_parsed = self.transform_data(data)
      return data_parsed
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from abc import ABCMeta
  from abc import abstractmethod
  from multiprocessing import dummy
  import os
  import os.path
  import numpy
  import PIL.Image
  import six
  import tensorflow
label_desc: Use image node_id 2 for calling the DiscreteActivationGeneratorBase obj's underlying member method code with example usage: obj.get_examples_for_concept(concept) and returns: data_parsed