Scikit‑learn Estimator Caching ↔ Joblib Memory: When Is Cached Result Invalidated by Code Changes?
Goal Determine how changes to an estimator’s implementation affect the persistence of results stored by joblib’s Memory when the estimator is used in GridSearchCV. Constraints The cache is keyed by a hash that incorporates the estimator’s class, its arguments, and the import path. Modifying method bodies without altering hyperparameters may still produce the