Method
getDriftForFeature GET
Copy GET

Gets the feature drift associated with a single feature in an output feature group from a prediction.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes modelMonitorVersion str Unique string identifier of a model monitor version created under the project.
Yes featureName str Name of the feature to view the distribution of.
No nestedFeatureName str Optionally, the name of the nested feature that the feature is in.
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 FeatureDistribution
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: