SuperpixelTransformer¶
-
class
SuperpixelTransformer.
SuperpixelTransformer
(cellSize=16.0, inputCol=None, modifier=130.0, outputCol=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin
,pyspark.ml.util.JavaMLReadable
,pyspark.ml.util.JavaMLWritable
,pyspark.ml.wrapper.JavaTransformer
Parameters: -
getCellSize
()[source]¶ Returns: Number that controls the size of the superpixels (default: 16.0) Return type: double
-
getModifier
()[source]¶ Returns: Controls the trade-off spatial and color distance (default: 130.0) Return type: double
-
getOutputCol
()[source]¶ Returns: The name of the output column (default: [self.uid]_output) Return type: str
-
setCellSize
(value)[source]¶ Parameters: cellSize (double) – Number that controls the size of the superpixels (default: 16.0)
-
setModifier
(value)[source]¶ Parameters: modifier (double) – Controls the trade-off spatial and color distance (default: 130.0)
-
setOutputCol
(value)[source]¶ Parameters: outputCol (str) – The name of the output column (default: [self.uid]_output)
-