Machine-learning model retraining detection