mmlspark.downloader package¶
Submodules¶
mmlspark.downloader.ModelDownloader module¶
-
class
mmlspark.downloader.ModelDownloader.
ModelDownloader
(sparkSession, localPath, serverURL='https://mmlspark.azureedge.net/datasets/CNTKModels/')[source]¶ Bases:
object
A class for downloading CNTK pretrained models in python. To download all models use the downloadModels function. To browse models from the microsoft server please use remoteModels.
- Parameters
-
class
mmlspark.downloader.ModelDownloader.
ModelSchema
(name, dataset, modelType, uri, hash, size, inputNode, numLayers, layerNames)[source]¶ Bases:
object
An object that represents a model.
- Parameters
name (str) – Name of the model
dataset (DataFrame) – Dataset it was trained on
modelType (str) – Domain that the model operates on
uri (str) – The location of the model’s bytes
hash (str) – The sha256 hash of the models bytes
size (int) – the size of the model in bytes
inputNode (int) – the node which represents the input
numLayers (int) – the number of layers of the model
layerNames (array) – the names of nodes that represent layers in the network
Module contents¶
MicrosoftML is a library of Python classes to interface with the Microsoft scala APIs to utilize Apache Spark to create distibuted machine learning models.
MicrosoftML simplifies training and scoring classifiers and regressors, as well as facilitating the creation of models using the CNTK library, images, and text.