class_docstr: TextSet wraps a set of texts with status.
class_docstr_tok: ["TextSet","wraps","a","set","of","texts","with","status","."]
docstr: Get the prediction results (if any) combined with uris (if any) of a TextSet.
  If a text doesn't have a uri, its corresponding uri will be None.
  If a text hasn't been predicted by a model, its corresponding prediction will be None.
  
  :return: List of (uri, prediction as a list of numpy array) for LocalTextSet.
           RDD of (uri, prediction as a list of numpy array) for DistributedTextSet.
docstr_tok: ["Get","the","prediction","results","(","if","any",")","combined","with","uris","(","if","any",")","of","a","TextSet",".","If","a","text","does","n't","have","a","uri",",","its","corresponding","uri","will","be","None",".","If","a","text","has","n't","been","predicted","by","a","model",",","its","corresponding","prediction","will","be","None",".",":","return",":","List","of","(","uri",",","prediction","as","a","list","of","numpy","array",")","for","LocalTextSet",".","RDD","of","(","uri",",","prediction","as","a","list","of","numpy","array",")","for","DistributedTextSet","."]
code: def get_predicts(self):
      """
      Get the prediction results (if any) combined with uris (if any) of a TextSet.
      If a text doesn't have a uri, its corresponding uri will be None.
      If a text hasn't been predicted by a model, its corresponding prediction will be None.
  
      :return: List of (uri, prediction as a list of numpy array) for LocalTextSet.
               RDD of (uri, prediction as a list of numpy array) for DistributedTextSet.
      """
      predicts = callZooFunc(
          self.bigdl_type, "textSetGetPredicts", self.value
      )
      if isinstance(predicts, RDD):
          return predicts.map(
              lambda predict: (
                  predict[0],
                  _process_predict_result(predict[1]),
              )
          )
      else:
          return [
              (predict[0], _process_predict_result(predict[1]))
              for predict in predicts
          ]
  
imports: import six
  from bigdl.util.common import JavaValue
  from zoo.common.utils import callZooFunc
  from pyspark import RDD
label_desc: Use image node_id 14 for calling the TextSet obj's underlying member method code with example usage: obj.get_predicts() and returns: predicts, unknown