ModelServingDataset Class

Represents a dataset used internally when a model-based DataDriftDetector object is created.

A model-based DataDriftDetector enables you to calculate data drift between a model's training dataset and its scoring dataset. To create a model-based DataDriftDetector, use the <xref:azureml.datadrift.DataDriftDetector.create_from_model> method.

Constructor.

Inheritance
builtins.object
ModelServingDataset

Constructor

ModelServingDataset(workspace)

Parameters

Name Description
workspace
Required

The workspace of the model-serving dataset.

workspace
Required
<xref:Workspace>

The workspace of the model serving dataset.

Methods

export_to_csv

Export a model-serving dataset to a local CSV file.

export_to_csv

Export a model-serving dataset to a local CSV file.

export_to_csv(start_time, end_time)

Parameters

Name Description
start_time
Required

The start time in UTC at which to start the export.

end_time
Required

The end time in UTC at which to end the export.

Returns

Type Description
str

The relative path of the exported CSV file.