Submodules module

class, autoConvertToColor=True, channelNormalizationMeans=[0.485, 0.456, 0.406], channelNormalizationStds=[0.229, 0.224, 0.225], colorScaleFactor=0.00392156862745098, dropNa=True, featureTensorName=None, headless=True, ignoreDecodingErrors=False, imageHeight=None, imageTensorName=None, imageWidth=None, inputCol=None, onnxModel=None, outputCol='ImageFeaturizer_661c7848a0ad_output', outputTensorName='')[source]

Bases: _ImageFeaturizer

  • name (str) – The name of the model in the OnnxHub

  • location (str) – The location of the model, either on local or HDFS

setModelLocation(location)[source] module

class str, value_type: str, size: int = - 1)[source]

Bases: ValueInfo

classmethod from_java(java_map_info: JavaObject) MapInfo[source]
class str, value_info: JavaObject)[source]

Bases: object

class, argMaxDict=None, deviceType=None, feedDict=None, fetchDict=None, miniBatcher=None, modelPayload=None, optimizationLevel='ALL_OPT', softMaxDict=None)[source]

Bases: _ONNXModel

  • SparkSession (SparkSession) – The SparkSession that will be used to find the model

  • location (str) – The location of the model, either on local or HDFS

getModelOutputs() Mapping[str, NodeInfo][source]
class int, sequence_of_maps: bool, map_info: MapInfo, sequence_type: str)[source]

Bases: ValueInfo

classmethod from_java(java_sequence_info: JavaObject) SequenceInfo[source]
class List[int], type: str)[source]

Bases: ValueInfo

classmethod from_java(java_tensor_info: JavaObject) TensorInfo[source]

Bases: object

classmethod from_java(java_value_info: JavaObject) ValueInfo[source]

Module contents

SynapseML is an ecosystem of tools aimed towards expanding the distributed computing framework Apache Spark in several new directions. SynapseML adds many deep learning and data science tools to the Spark ecosystem, including seamless integration of Spark Machine Learning pipelines with Microsoft Cognitive Toolkit (CNTK), LightGBM and OpenCV. These tools enable powerful and highly-scalable predictive and analytical models for a variety of datasources.

SynapseML also brings new networking capabilities to the Spark Ecosystem. With the HTTP on Spark project, users can embed any web service into their SparkML models. In this vein, SynapseML provides easy to use SparkML transformers for a wide variety of Microsoft Cognitive Services. For production grade deployment, the Spark Serving project enables high throughput, sub-millisecond latency web services, backed by your Spark cluster.

SynapseML requires Scala 2.12, Spark 3.0+, and Python 3.6+.