ImageSetAugmenter

class ImageSetAugmenter.ImageSetAugmenter(flipLeftRight=True, flipUpDown=False, inputCol='image', outputCol=None)[source]

Bases: mmlspark.Utils.ComplexParamsMixin, pyspark.ml.util.JavaMLReadable, pyspark.ml.util.JavaMLWritable, pyspark.ml.wrapper.JavaTransformer

Parameters:
  • flipLeftRight (bool) – Symmetric Left-Right (default: true)
  • flipUpDown (bool) – Symmetric Up-Down (default: false)
  • inputCol (str) – The name of the input column (default: image)
  • outputCol (str) – The name of the output column (default: [self.uid]_output)
getFlipLeftRight()[source]
Returns:Symmetric Left-Right (default: true)
Return type:bool
getFlipUpDown()[source]
Returns:Symmetric Up-Down (default: false)
Return type:bool
getInputCol()[source]
Returns:The name of the input column (default: image)
Return type:str
static getJavaPackage()[source]

Returns package name String.

getOutputCol()[source]
Returns:The name of the output column (default: [self.uid]_output)
Return type:str
classmethod read()[source]

Returns an MLReader instance for this class.

setFlipLeftRight(value)[source]
Parameters:flipLeftRight (bool) – Symmetric Left-Right (default: true)
setFlipUpDown(value)[source]
Parameters:flipUpDown (bool) – Symmetric Up-Down (default: false)
setInputCol(value)[source]
Parameters:inputCol (str) – The name of the input column (default: image)
setOutputCol(value)[source]
Parameters:outputCol (str) – The name of the output column (default: [self.uid]_output)
setParams(flipLeftRight=True, flipUpDown=False, inputCol='image', outputCol=None)[source]

Set the (keyword only) parameters

Parameters:
  • flipLeftRight (bool) – Symmetric Left-Right (default: true)
  • flipUpDown (bool) – Symmetric Up-Down (default: false)
  • inputCol (str) – The name of the input column (default: image)
  • outputCol (str) – The name of the output column (default: [self.uid]_output)