0
0
ML Pythonml~5 mins

Model drift detection in ML Python - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is model drift in machine learning?
Model drift happens when a machine learning model's performance gets worse over time because the data it sees changes from what it was trained on.
Click to reveal answer
beginner
Name two common types of model drift.
The two common types are:<br>1. Concept drift: When the relationship between input and output changes.<br>2. Data drift: When the input data distribution changes but the relationship stays the same.
Click to reveal answer
beginner
Why is detecting model drift important?
Detecting model drift helps keep models accurate and reliable by alerting us when the model needs retraining or updating.
Click to reveal answer
intermediate
What is a simple method to detect data drift?
A simple method is to compare statistics like mean or distribution of new data with the training data using tests like the Kolmogorov-Smirnov test.
Click to reveal answer
intermediate
How can monitoring model performance metrics help in drift detection?
If metrics like accuracy or error rate suddenly change on new data, it can indicate model drift and that the model may no longer be reliable.
Click to reveal answer
What does concept drift mean?
AModel architecture changes
BChange in the input data distribution only
CChange in the relationship between inputs and outputs
DModel training time increases
Which metric change might indicate model drift?
ASudden drop in accuracy
BIncrease in training speed
CMore features added
DLonger model code
Which test can be used to detect data drift?
AT-test for model weights
BKolmogorov-Smirnov test
CGradient descent
DCross-validation
What should you do if model drift is detected?
ADelete the model
BIgnore it
CChange the programming language
DRetrain or update the model
Data drift affects which part of the model?
AInput data distribution
BModel output labels
CModel hyperparameters
DTraining algorithm
Explain what model drift is and why it matters in simple terms.
Think about how a model can become less accurate over time.
You got /3 concepts.
    Describe two ways to detect model drift and what actions to take after detection.
    Consider checking model results and comparing new data to old data.
    You got /2 concepts.