UnrollImage¶
-
class
UnrollImage.
UnrollImage
(inputCol='image', outputCol=None)[source]¶ Bases:
mmlspark.Utils.ComplexParamsMixin
,pyspark.ml.util.JavaMLReadable
,pyspark.ml.util.JavaMLWritable
,pyspark.ml.wrapper.JavaTransformer
Converts the representation of an m * n pixel image to an m * n vector of double.
The parameter “inputCol” indicates the column containing the image; its default name is “image”. The default name for “outputCol”, which holds the resultant vector is “<uid>_output”.
Parameters: -
getOutputCol
()[source]¶ Returns: The name of the output column (default: [self.uid]_output) Return type: str
-
setInputCol
(value)[source]¶ Parameters: inputCol (str) – The name of the input column (default: image)
-