docstr: Set the threshold to determine which logits are considered to be positive or negative.
   (Default: `0.5`). The value should be between 0.0 and 1.0. Changing the threshold value
   will affect the resulting labels and can be used to adjust the balance between precision and
   recall in the classification process.
  
  Parameters
  ----------
  value : float
      The threshold to determine which logits are considered to be positive or negative.
      (Default: `0.5`). The value should be between 0.0 and 1.0. Changing the threshold value
      will affect the resulting labels and can be used to adjust the balance between precision and
      recall in the classification process.
docstr_tok: ["Set","the","threshold","to","determine","which","logits","are","considered","to","be","positive","or","negative",".","(","Default",":","`","0.5","`",")",".","The","value","should","be","between","0.0","and","1.0",".","Changing","the","threshold","value","will","affect","the","resulting","labels","and","can","be","used","to","adjust","the","balance","between","precision","and","recall","in","the","classification","process",".","Parameters","--","--","--","--","--","value",":","float","The","threshold","to","determine","which","logits","are","considered","to","be","positive","or","negative",".","(","Default",":","`","0.5","`",")",".","The","value","should","be","between","0.0","and","1.0",".","Changing","the","threshold","value","will","affect","the","resulting","labels","and","can","be","used","to","adjust","the","balance","between","precision","and","recall","in","the","classification","process","."]
code: def setThreshold(self, value):
      """Set the threshold to determine which logits are considered to be positive or negative.
       (Default: `0.5`). The value should be between 0.0 and 1.0. Changing the threshold value
       will affect the resulting labels and can be used to adjust the balance between precision and
       recall in the classification process.
  
      Parameters
      ----------
      value : float
          The threshold to determine which logits are considered to be positive or negative.
          (Default: `0.5`). The value should be between 0.0 and 1.0. Changing the threshold value
          will affect the resulting labels and can be used to adjust the balance between precision and
          recall in the classification process.
      """
      return self._set(threshold=value)
  
imports: from pyspark.ml.param import Param, Params, TypeConverters
label_desc: Use image node_id 5 for calling the HasClassifierActivationProperties obj's underlying member method code with example usage: obj.setThreshold(value) and returns: self