docstr: Sets Whether to rescale the image values by rescaleFactor, by default `True`.
  
  Parameters
  ----------
  value : Boolean
      Whether to rescale the image values by rescaleFactor.
docstr_tok: ["Sets","Whether","to","rescale","the","image","values","by","rescaleFactor",",","by","default","`","True","`",".","Parameters","--","--","--","--","--","value",":","Boolean","Whether","to","rescale","the","image","values","by","rescaleFactor","."]
code: def setDoRescale(self, value):
      """Sets Whether to rescale the image values by rescaleFactor, by default `True`.
  
      Parameters
      ----------
      value : Boolean
          Whether to rescale the image values by rescaleFactor.
      """
      return self._set(doRescale=value)
  
imports: from pyspark.ml.param import Param, Params, TypeConverters
label_desc: Use image node_id 1 for calling the HasRescaleFactor obj's underlying member method code with example usage: obj.setDoRescale(value) and returns: self