MNIST Class
Represents the MNIST dataset of handwritten digits.
The MNIST database of handwritten digits has a training set of 60,000 examples and a test set of 10,000 examples. The digits have been size-normalized and centered in a fixed-size image. For more information about this dataset, including column descriptions, different ways to access the dataset, and examples, see The MNIST database of handwritten digits in the Microsoft Azure Open Datasets catalog.
For an example of using the MNIST dataset, see the tutorial Train image classification models with MNIST data and scikit-learn using Azure Machine Learning.
- Inheritance
Constructor
MNIST()
Methods
get_file_dataset |
Return a FileDataset containing the data. |
get_tabular_dataset |
Return a TabularDataset containing the data. |
get_file_dataset
Return a FileDataset containing the data.
get_file_dataset(dataset_filter='all', enable_telemetry: bool = True) -> FileDataset
Parameters
Name | Description |
---|---|
cls
Required
|
Current class |
dataset_filter
|
A filter that determines what data is returned. Can be "all" (the default), "train", or "test". Default value: all
|
enable_telemetry
|
Whether to enable telemetry on this dataset. Default value: True
|
Returns
Type | Description |
---|---|
A file dataset. |
get_tabular_dataset
Return a TabularDataset containing the data.
get_tabular_dataset(dataset_filter='all', enable_telemetry: bool = True) -> TabularDataset
Parameters
Name | Description |
---|---|
cls
Required
|
Current class |
dataset_filter
|
A filter that determines what data is returned. Can be "all" (the default), "train", or "test". Default value: all
|
enable_telemetry
|
Whether to enable telemetry on this dataset. Default value: True
|
Returns
Type | Description |
---|---|
A tabular dataset. |