Skip to content

docs(probas,#8081): add founding citations to Infer-15 Recommenders (Koren 2009, Schein 2002, Chapelle 2009) - #8331

Merged
jsboige merged 2 commits into
mainfrom
feature/c850-infer15-recommenders-citations
Jul 24, 2026
Merged

jsboige merged 2 commits into
mainfrom
feature/c850-infer15-recommenders-citations

Conversation

@myia-po-2023

Copy link
Copy Markdown
Collaborator

Grain: MED/notebook-probas-citations — lane myia-po-2023:CoursIA-2 — prev: MED/twin-parity-sha-only-rebaseline (c.849 #8322)

c.850 — Infer-15-Recommenders canonical citations (#8081 axis-1, C# twin of PyMC-15)

Scope

Issue epic #8081 (axe-1 = fidélité distillation = citations canoniques) sur la famille Probas :
la tranche a déjà été couverte pour Infer-2 / Infer-11 / Infer-12 / PyMC-2 / PyMC-11 / Infer-13 /
Infer-19 (c.830-c.834 + c.838 + #8257), pour le jumeau Python PyMC-19 (c.844 MERGED 2026-07-24),
pour le jumeau Python PyMC-18 (c.847 OPEN MERGEABLE #8314) et pour le jumeau C# Infer-18
(c.845 OPEN MERGEABLE #8307). Cette PR comble le gap du corpus 15 : le notebook
Infer-15-Recommenders.ipynb (Infer.NET / C#, EP) discute factorisation matricielle, cold-start
hybride et click model multi-sources — sans citer aucun des papiers primaires fondateurs
(Koren-Bell-Volinsky 2009, Schein 2002, Chapelle-Zhang 2009, Minka 2001, Salakhutdinov-Mnih 2008,
Wang-Blei 2011).

Changements

Substance : 1 fichier modifié, +5558 chars, 0 deletions, 4 cellules markdown (atomic,
G.4 strict, byte-surgical). git diff --stat = +34/-4 insertions/suppressions de lignes
source.

Cellule Concept Citation ajoutée
cell[7] (Section 3 Factorisation Matricielle Bayesienne) Origine Netflix Prize + synthèse technique Koren, Bell & Volinsky 2009, IEEE Computer 42(8):30-37 (blockquote > *Origine.* inline)
cell[38] (Section 5 Cold-Start avec Features) Cadre canonique du cold-start hybride (CBFR) Schein, Popescul, Ungar, Pennock & Rifkin 2002, SIGIR '02 253-260 (blockquote > *Référence.* inline)
cell[50] (Section 6 Click Model : Sources Multiples) Dynamic Bayesian Click Model (DBCM) Chapelle & Zhang 2009, WWW '09 1-10 (blockquote > *Origine.* inline)
cell[80] (Conclusion) Extensions canoniques + nouveau ### References 3 papiers primaires annotés (Koren/Schein/Chapelle) + 3 sources secondaires (Salakhutdinov-Mnih 2008 PMF MCMC, Wang-Blei 2011 collaborative topic modeling, Minka 2001 EP) + 3 relations à la série (PyMC-15 jumeau, Infer-9 LDA, Infer-10 Crowdsourcing) + 1 paragraphe "Pour aller plus loin" avec 5 extensions (Salakhutdinov-Mnih 2008, Koren 2008, Agarwal-Chen 2009, Wang-Blei 2011, MBML Ch.13)

Total : +5558 chars sur 4 cellules markdown, 0 cellule code touchée, 0 output hand-édité.

Méthode (byte-surgical, anchor vérifié verbatim)

  1. Lecture first-hand de PR docs(probas,#8081): add founding citations to Infer-18 Change-Point notebook #8307 (c.845) + docs(probas,#8081): add founding citations to PyMC-18 Change-Point notebook (c.847, twin of c.845) #8314 (c.847) pour confirmer le pattern appliqué
    au jumeau Python/C# :

    • cell[N] Origine : > *Origine.* Koren, Bell, & Volinsky (2009, "Matrix Factorization Techniques for Recommender Systems", IEEE Computer 42(8):30-37)
    • cell[N] Référence : > *Référence.* Schein-Popescul-Ungar-Pennock-Rifkin 2002, "Methods and Metrics for Cold-Start Recommendations", SIGIR 2002
    • cell[N] Origine : > *Origine.* Chapelle & Zhang 2009, "A Dynamic Bayesian Network Click Model for Web Search Ranking", WWW '09
    • cell[80] Conclusion : \n\n---\n\n### References\n\n**Sources fondatrices (papiers primaires).**\n\n- Koren...
  2. Lecture first-hand de PyMC-15-Recommenders.ipynb (jumeau Python, 58 cells) pour vérifier
    la différentiation L975 ★★ twin-pair : PyMC-15 cite Salakhutdinov-Mnih 2008 (PMF MCMC)

    • Koren-Bell-Volinsky 2009 + Funk 2006 (Netflix Prize blog). Le présent notebook-ci est
      C# (Infer.NET, EP), donc les références natives sont Koren-Bell-Volinsky 2009
      (synthèse Netflix Prize), Schein 2002 (cold-start), Chapelle-Zhang 2009 (click model).
      La différenciation est consistante avec L975 ★★ : substance genuinely distincte par
      stack ET par algorithme (Infer.NET EP+Variable.Gaussian + Factorisation + Cold-Start
      hybride + Click Model multi-source) vs (PyMC NUTS + Salakhutdinov-Mnih MCMC PMF).
  3. Patch Python (json + LF-only) : 4 listes cells[i]['source'] reconstruites verbatim
    (lignes originales + lignes ajoutées), assertion d'ancrage actual == old avant chaque
    modification, écriture binaire f.write(json.dumps(...).encode('utf-8')) pour préserver
    LF-only (cf L965 ★ de c.840). Total diff : +34/-4 cellules (nbformat indent=1),
    +5558 chars de prose.

  4. Différenciation c.850 vs c.844/c.845/c.847 : ce notebook-ci est Infer.NET Recommenders
    (factorisation + cold-start + click model), donc les références natives sont :

    • Koren-Bell-Volinsky 2009 (factorisation canonique, domaine Recommender)
    • Schein 2002 (cold-start CBFR, double-pondéré factorisation+features)
    • Chapelle-Zhang 2009 (click model, dynamique bayésien perception+attractivité)
    • Salakhutdinov-Mnih 2008 (PMF MCMC, lien avec jumeau PyMC-15)
    • Wang-Blei 2011 (collaborative topic modeling, lien avec Infer-9 LDA)
    • Minka 2001 (EP, moteur d'inférence)
      Conformément à L975 ★★ : substance genuinely distincte par stack (C# EP) ET par
      algorithme (Gaussian+Variable.Gaussian+FacteursLatents vs PyMC NUTS+Salakhutdinov PMF).

Verifications

  • Atomicité G.4 : +34/-4 strict, 1 fichier, 1 sujet (= tranche Infer-15 citations
    post-c.844/c.845/c.847).
  • Catalogue byte-identique : COURSE_CATALOG.generated.json / .md non touchés (aucun marqueur
    CATALOG-STATUS dans Infer-15, donc pas de pollution catalogue).
  • LF-only CR=0 : raw.count(b'\r\n') == 0 sur le fichier post-patch ✓.
  • Pas de ré-exécution Papermill : modifications markdown-only sur 4 cellules,
    0 cellule code touchée, 0 output hand-édité (exception C.2 confirmée).
  • Validateur H.3 validate_pr_notebooks.py Infer-15-Recommenders.ipynb :
    PASS (26 code cells, execution_count + outputs cohérents, returncode 0).
  • C.1 scan : 0 hit raise NotImplementedError / assert False / 1/0 (anti-patterns
    interdits).
  • Aucun autre fichier touché : git diff --name-only = 1 fichier
    (Infer-15-Recommenders.ipynb). Pas de contamination scratchpad (body généré hors
    worktree, cf L677-L4 ★★).
  • G.1 verify-before-claiming : valeurs verbatim viennent de :
    • Read direct du fichier via Python json (anchor utilisé pour reconstruire chaque source)
    • Recherche bibliographique : Koren, Bell & Volinsky 2009 (doi:10.1109/MC.2009.263) ;
      Schein, Popescul, Ungar, Pennock & Rifkin 2002, SIGIR '02 253-260 (doi:10.1145/564376.564421) ;
      Chapelle & Zhang 2009, WWW '09 1-10 (doi:10.1145/1526709.1526711) ;
      Salakhutdinov & Mnih 2008, ICML '08 880-887 (doi:10.1145/1390156.1390267) ;
      Wang & Blei 2011, KDD '11 448-456 (doi:10.1145/2020408.2020480) ;
      Minka 2001, UAI '01 362-369.
  • Sécurité secrets : grep API_KEY|TOKEN|sk-|ghp_|AIza|os.getenv("KEY", "literal") sur
    diff → 0 hit.
  • L898 ★★★ + L977 ★★ pre-push : gh pr list --search "Infer-15 Recommenders" → 0 PR OPEN
    sur citations canoniques (seulement PRs MERGED divers : ratio fix(probas,#8052): Infer-15 ratio output printed false 0,8 (true 0,75, :F1 banker rounding) #8280, accents fix(probas,#2876): restore French accents in Infer-15-Recommenders markdown (149 cures, code untouched) #7099,
    twin-register, etc.) ; gh pr list --search "Recommender citations" → 0 OPEN ; gh pr list --search "#8081" → 30 PRs total dont aucune sur Infer-15-Recommenders citations canoniques.
  • L954 ★ pivot cross-famille : c.849 = twin-parity-sha-only-rebaseline (sub-genre twin
    register) → c.850 = notebook-probas-citations (sub-genre notebook citations, L975 ★★ substance
    distincte). 11ᵉ pivot consécutif post-c.839/c.840/c.841/c.842b/c.843 abort/c.844/c.845/
    c.846/c.847/c.848/c.849, R6 variété respectée (genre twin-parity-sha-only ≠ notebook-citations).
  • Genre G-VAR-3 OK : sub-genre notebook-citations C# twin DISTINCT de c.844 (PyMC-19 =
    Python twin, jumeau Infer-19) DISTINCT de c.845 (Infer-18 C# twin, Change-Point) DISTINCT
    de c.847 (PyMC-18 Python twin, Change-Point) — substance genuinely distincte par stack ET
    par sujet (factorisation + cold-start + click model vs change-point + survival).
  • Pivot cross-famille L954 ★ OK : c.850 = 11ᵉ pivot consécutif post-c.839 (cf c.847 c.845 c.844),
    R6 variété respectée.

Hors scope (pour mémoire)

Liens

🤖 Generated with Claude Code

…Koren 2009, Schein 2002, Chapelle 2009) + References sub-section

Cite canonical founding papers for Bayesian recommender systems on the .NET/Infer.NET twin side of the corpus 15 axis-1 sub-grain (L975 ★★ twin-pair differentiation with PyMC-15). 4 cells modified (cell[7] factorisation + cell[38] cold-start + cell[50] click model + cell[80] Conclusion + new References sub-section), +34/-4 atomic, 0 code cell touched, 0 output hand-edited, LF-only CR=0, validate_pr_notebooks.py PASS (26 code cells).

Co-Authored-By: Claude-Code <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

Golden-Set Execution (H.7 P3)

✅ 8/8 notebooks passed (certified reproducible)

Notebook Status Time
2.1-Workflow-ML.ipynb ✅ SUCCESS 5.8s
2.2-Descente-de-gradient.ipynb ✅ SUCCESS 4.2s
2.3-Regression-lineaire-logistique.ipynb ✅ SUCCESS 3.9s
2.4-Arbres-Forets-Ensembles.ipynb ✅ SUCCESS 4.9s
Search-1-StateSpace.ipynb ✅ SUCCESS 4.0s
SL-1-LogicalLearning.ipynb ✅ SUCCESS 2.9s
rl_4_multi_armed_bandits.ipynb ✅ SUCCESS 25.6s
GameTheory-4c-NashExistence-Python.ipynb ✅ SUCCESS 3.5s

Pinned lockfile: scripts/notebook_tools/golden_set.lock.txt (H.7 P3, axe A #4208)

@github-actions

Copy link
Copy Markdown
Contributor

Notebook PR Validation: PASS

  • Notebooks checked: 1
  • Code cells validated: 26
  • Result: All passed

Checks: H.1 (no errors), H.3 (execution_count), C.1 (no banned patterns)
Non-Python kernels (.NET/Lean): C.1 + errors only (execution_count advisory)
QuantConnect notebooks: C.1 + errors only (require QC Cloud for execution)

@jsboige jsboige left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Hermes] ✅ Citations fondatrices correctes — structure markdown propre

Portée : Infer-15-Recommenders (+34/-4) — ajout de références canoniques au twin Infer.NET.

Vérifications :

  • ✅ Toutes les citations sont réelles avec DOIs : Koren Bell & Volinsky 2009 (IEEE Computer), Schein et al 2002 (SIGIR'02), Chapelle & Zhang 2009 (WWW'09), Salakhutdinov & Mnih 2008 (ICML'08), Wang & Blei 2011 (KDD'11), Minka 2001 (UAI'01, EP engine). Aucune invention.
  • ✅ Minka 2001 (EP) est pertinent pour le twin Infer.NET — c'est le moteur d'inférence utilisé, absent à juste titre du twin PyMC (NUTS).
  • ✅ Structure markdown propre : contrairement à son jumeau #8334, le bloc ### References est correctement séparé, pas injecté dans la ligne Navigation.
  • ✅ Cross-références série : liens vers PyMC-15 (twin), Infer-9 (LDA), Infer-10 (crowdsourcing) — cohérents.
  • ✅ 0 secret dans le diff.

Nit : « No newline at end of file » (cosmétique).

LGTM — qualité académique solide, structure correcte.

…dels, 10->13 Crowdsourcing)

The added "Relation à la série" block linked the right topics to the wrong
notebook numbers: Topic-Models is Infer-11 (not Infer-9-Classification) and
Crowdsourcing is Infer-13 (not Infer-10-Model-Selection). check-navlinks
flagged both as NEW broken links. Corrected numbers+filenames; topics and
prose (LDA content-based rec / crowdsourcing as click-model dual) unchanged.
Markdown-only edit, no re-execution. check-navlinks now 0 NEW broken.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jsboige
jsboige merged commit c921709 into main Jul 24, 2026
28 of 29 checks passed
jsboige added a commit that referenced this pull request Jul 24, 2026
…c.851, twin of Infer-15 #8331) (#8334)

Co-authored-by: jsboige <jsboige@gmail.com>
@jsboige
jsboige deleted the feature/c850-infer15-recommenders-citations branch September 2, 2026 13:14
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.

docs(probas,#8081): sub-issue batch citations canoniques — Infer-11 + PyMC-11 + Infer-12 + Infer-2 + PyMC-2

2 participants