Method
getPredictionDrift GET
Copy GET

Gets the label and prediction drifts for a model monitor.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelMonitorVersion str Unique string identifier for a model monitor version created under the project.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result DriftDistributions
KEY TYPE Description
labelDrift DriftDistribution A DriftDistribution describing column names and the range of values for label drift.
KEY TYPE Description
trainColumn str The feature name in the train table.
predictedColumn str The feature name in the prediction table.
metrics dict Drift measures.
distribution FeatureDistribution A FeatureDistribution, how the training data compares to the predicted data.
KEY TYPE Description
type str Data type of values in each distribution, typically 'categorical' or 'numerical'.
trainingDistribution dict A dict describing the range of values in the training distribution.
predictionDistribution dict A dict describing the range of values in the specified window.
numericalTrainingDistribution dict A dict describing the summary statistics of the numerical training distribution.
numericalPredictionDistribution dict A dict describing the summary statistics of the numerical prediction distribution.
trainingStatistics dict A dict describing summary statistics of values in the training distribution.
predictionStatistics dict A dict describing summary statistics of values in the specified window.
predictionDrift DriftDistribution A DriftDistribution describing column names and the range of values for prediction drift.
KEY TYPE Description
trainColumn str The feature name in the train table.
predictedColumn str The feature name in the prediction table.
metrics dict Drift measures.
distribution FeatureDistribution A FeatureDistribution, how the training data compares to the predicted data.
KEY TYPE Description
type str Data type of values in each distribution, typically 'categorical' or 'numerical'.
trainingDistribution dict A dict describing the range of values in the training distribution.
predictionDistribution dict A dict describing the range of values in the specified window.
numericalTrainingDistribution dict A dict describing the summary statistics of the numerical training distribution.
numericalPredictionDistribution dict A dict describing the summary statistics of the numerical prediction distribution.
trainingStatistics dict A dict describing summary statistics of values in the training distribution.
predictionStatistics dict A dict describing summary statistics of values in the specified window.
bpPredictionDrift DriftDistribution A DriftDistribution describing column names and the range of values for prediction drift, when the predictions come from BP.
KEY TYPE Description
trainColumn str The feature name in the train table.
predictedColumn str The feature name in the prediction table.
metrics dict Drift measures.
distribution FeatureDistribution A FeatureDistribution, how the training data compares to the predicted data.
KEY TYPE Description
type str Data type of values in each distribution, typically 'categorical' or 'numerical'.
trainingDistribution dict A dict describing the range of values in the training distribution.
predictionDistribution dict A dict describing the range of values in the specified window.
numericalTrainingDistribution dict A dict describing the summary statistics of the numerical training distribution.
numericalPredictionDistribution dict A dict describing the summary statistics of the numerical prediction distribution.
trainingStatistics dict A dict describing summary statistics of values in the training distribution.
predictionStatistics dict A dict describing summary statistics of values in the specified window.
Language: