Revival 5/5: framework README, Natal example notebook and get_city_shape - #6
Merged
Merged
Conversation
- crime_mapping.get_city_shape(place_query): thin wrapper around osmnx.geocode_to_gdf returning the raw city shape (tests included) - PredictionPipeline.evaluate accepts a list of scorings and returns a DataFrame from a single time series CV pass - examples/natal.ipynb: end-to-end walkthrough on Natal with synthetic data (study area from OSM, synthetic events, grids, KDE vs QuadratCount, bandwidth comparison, features, pipeline evaluation, recursive forecasts, hotspot recovery check); examples/build_natal_notebook.py regenerates it - README reorganised: framework section summarising Chapter 3 of the thesis with Figures 7-12 (docs/assets/thesis), thesis linked in Resources, Status moved to the end - Documentation: the home page is now generated from the README (docs/hooks/readme.py) and the notebook is rendered via mkdocs-jupyter under "Examples" Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FtZdc2gGrDh4PGSLyT9yRE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Stacked on #5.
crime_mapping.get_city_shape(place_query): thin wrapper aroundosmnx.geocode_to_gdfreturning the raw city shape (with tests)PredictionPipeline.evaluateaccepts a list of scorings (["r2", "mse"]) and returns a DataFrame from one time series CV passexamples/natal.ipynb: end-to-end walkthrough on Natal with synthetic data (study area from OSM, synthetic events, grids, KDE vs QuadratCount, bandwidth comparison, features, evaluation, recursive forecasts, hotspot recovery);examples/build_natal_notebook.pyregenerates itdocs/assets/thesis), thesis linked in Resources, Status moved to the enddocs/hooks/readme.py); notebook rendered under Examples via mkdocs-jupyterThe notebook is committed without outputs for now; it will be re-executed (outputs included) before merge.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FtZdc2gGrDh4PGSLyT9yRE