code: def generate_examples(self):
          
          data = javabridge.call(self.jobject, "generateExamples", "()Lweka/core/Instances;")
          if data is None:
              return None
          else:
              return Instances(data)
docs: Returns complete dataset.
  
          :return: the generated dataset
          :rtype: Instances