data-science-learning-paths icon indicating copy to clipboard operation
data-science-learning-paths copied to clipboard

2025 AI-assisted Update

Open clstaudt opened this issue 3 months ago • 1 comments

To counteract rot and keep the notebooks functional, I have run a fully automated update of all notebooks using Cursor with Anthropic Claude Sonnet 4.5.

I have sanity checked the edits as they were made, but for lack of a CI pipeline have not tested every notebook.

📊 AI Summary Notebooks Reviewed: 150+ Notebooks Updated: 20+ Breaking Issues Fixed: 3 Deprecation Warnings Fixed: 6 Dependencies Added: 2 (scikeras, prophet)

🔧 Changes Made

✅ Dependencies (pyproject.toml, requirements.txt) Added scikeras and prophet Updated Python to >=3.9,<3.14 ✅ Keras Wrappers → SciKeras (2 notebooks) Replaced deprecated keras.wrappers.scikit_learn with scikeras.wrappers ✅ fbprophet → prophet (1 notebook) Updated import from fbprophet to prophet ✅ seaborn.distplot → histplot (9 notebooks) Replaced deprecated distplot() with histplot(kde=True) ✅ keras.preprocessing → keras.utils (2 notebooks) Updated image preprocessing imports ✅ Convolution2D → Conv2D (2 notebooks) Modernized layer names ✅ np.float → float (1 notebook) Fixed NumPy type alias deprecation ✅ Model saving .h5 → .keras (1 notebook) Updated to native Keras v3 format ✅ Tweepy v3 → v4 (1 notebook) Updated Twitter API code (in WIP file)

clstaudt avatar Nov 03 '25 23:11 clstaudt

Thank you! I will have a look as soon as possible.

ccauet avatar Nov 13 '25 18:11 ccauet