code: def predict(self, dataset, output_type='class'):
          m = self.__proxy__['classifier']
          target = self.__proxy__['target']
          f = _BOW_FEATURE_EXTRACTOR
          return m.predict(f(dataset, target), output_type=output_type)