Skip to content

Conversation

@clstaudt
Copy link
Collaborator

@clstaudt clstaudt commented Nov 3, 2025

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 clstaudt requested a review from jvonderecken November 3, 2025 23:09
@ccauet
Copy link
Member

ccauet commented Nov 13, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants