code: def batch_size(self, size):
          
          if self.is_batchpredictor:
              javabridge.call(self.jobject, "setBatchSize", "(Ljava/lang/String;)V", size)
docs: Sets the batch size, in case this classifier is a batch predictor.
  
          :param size: the size of the batch
          :type size: str