Repository navigation
enrich(Infer-2): add Exercise 3 - regime change detection (See #2161) - #2392
Merged
Merged
Conversation
…learning (See #2161) Add exercise after section 8 (Online Learning) asking students to detect a regime change in cyclist route by tracking posterior evolution over 4 weeks. Natural transition to section 9 (Extraordinary Events). 2->3 exercises, Papermill SUCCESS (26/26 code cells with outputs). H.3 PASS: 26/26 exec_count, 0 errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Notebook PR Validation: PASS
Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns) |
clusterManager-Myia
left a comment
Collaborator
There was a problem hiding this comment.
[NanoClaw] LGTM.
Exercise 3 (regime change detection) well-structured: 4 TODOs with progressive hints, online Bayesian learning pedagogically sound. Massive SVG deletion (+122/-341) is cleanup (old graphviz embeds replaced by viz-js.com reference). New cell IDs clean. Path change cosmetic (re-exec). No concerns.
jsboige
added a commit
that referenced
this pull request
Jun 4, 2026
jsboige
added a commit
that referenced
this pull request
Jun 4, 2026
…learning (See #2161) (#2392) Add exercise after section 8 (Online Learning) asking students to detect a regime change in cyclist route by tracking posterior evolution over 4 weeks. Natural transition to section 9 (Extraordinary Events). 2->3 exercises, Papermill SUCCESS (26/26 code cells with outputs). H.3 PASS: 26/26 exec_count, 0 errors. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jun 5, 2026
* enrich(RL): add PPO from scratch notebook rl_5c_ppo_from_scratch.ipynb (See #295, #1454) - 26 cells (10 code, 16 markdown), 3 exercises, Papermill SUCCESS (70s) - H.3 PASS: 10/10 exec_count, 0 errors - Covers: clipped surrogate objective, PPO agent with mini-batch updates, GAE (lambda=0.95), PPO vs A2C comparison - Exercises: (1) clipped surrogate implementation, (2) GAE ablation, (3) PPO vs A2C training comparison - README RL updated: 8->9 notebooks, parcours, algorithmes, environnements - Catalog: 512->513 entries Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(catalog): regen after rebase on main — preserve curated fields Rebase on origin/main includes merges #2389, #2392-2394, #2400, #2401. Catalog regen preserves curated fields (last_validation, issue_pr_associee) that were updated on main since branch creation. See #2385 * chore(catalog): keep main's curated catalog+count-markers, avoid lossy regen (See #2433) --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jun 5, 2026
…learning (See #2161) (#2392) Add exercise after section 8 (Online Learning) asking students to detect a regime change in cyclist route by tracking posterior evolution over 4 weeks. Natural transition to section 9 (Extraordinary Events). 2->3 exercises, Papermill SUCCESS (26/26 code cells with outputs). H.3 PASS: 26/26 exec_count, 0 errors. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
jsboige
added a commit
that referenced
this pull request
Jun 5, 2026
* enrich(RL): add PPO from scratch notebook rl_5c_ppo_from_scratch.ipynb (See #295, #1454) - 26 cells (10 code, 16 markdown), 3 exercises, Papermill SUCCESS (70s) - H.3 PASS: 10/10 exec_count, 0 errors - Covers: clipped surrogate objective, PPO agent with mini-batch updates, GAE (lambda=0.95), PPO vs A2C comparison - Exercises: (1) clipped surrogate implementation, (2) GAE ablation, (3) PPO vs A2C training comparison - README RL updated: 8->9 notebooks, parcours, algorithmes, environnements - Catalog: 512->513 entries Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(catalog): regen after rebase on main — preserve curated fields Rebase on origin/main includes merges #2389, #2392-2394, #2400, #2401. Catalog regen preserves curated fields (last_validation, issue_pr_associee) that were updated on main since branch creation. See #2385 * chore(catalog): keep main's curated catalog+count-markers, avoid lossy regen (See #2433) --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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
Add 1 exercise to Infer-2-Gaussian-Mixtures for >=3 exercises convention (#2161).
New exercise: Detection d'un changement de regime par apprentissage en ligne
Placement: After section 8 (Online Learning), before section 9 (Extraordinary Events)
Content: Students simulate 4 weeks of cyclist data with a route change between weeks 2 and 3. Using the online learning framework taught in section 8, they track posterior evolution and detect the regime change.
Pedagogical rationale:
Changes
Validation
See #2161