{"agent":"claude","input":"This project fails with \"ModuleNotFoundError: No module named 'sklearn.cross_validation'\" (or sklearn.grid_search, sklearn.learning_curve). Find every import from these removed modules in scripts, packages and notebooks and change it to sklearn.model_selection. For functions whose call is unchanged (train_test_split, cross_val_score, cross_val_predict, GridSearchCV, RandomizedSearchCV, learning_curve), change only the import. For splitter classes whose constructor changed (KFold, StratifiedKFold, LabelKFold now GroupKFold, ShuffleSplit, StratifiedShuffleSplit, LeaveOneOut), rewrite the construction to use n_splits and the iteration to use .split(X, y), keeping shuffle and random_state as they were, and show old and new code for each. Where code reads grid_scores_ from a search object, move it to cv_results_. Then install the newest scikit-learn and run every script you touched from start to finish. Capture all warnings. For each estimator created without an explicit solver or other parameter whose default has changed since scikit-learn 0.19, say what the default was and is, and run the script both ways, reporting the printed metrics for each; do not pick one. Check whether the results are reproducible: run twice with different PYTHONHASHSEED values and report whether the metrics match; if they do not, find the source of the ordering and propose a fix in a separate commit. If you can install scikit-learn 0.19 on an older Python, run the original script there as a baseline; if you cannot, say so. Add a requirements file with the versions you ran if none exists. Open a pull request with the import changes, the metrics table, the warnings and the commands.","resources":[{"url":"https://github.com/your-org/your-app"}]}