2025 AI-assisted Update #30
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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)