Add Git4Data Part 8: ML Continuous Learning — Train Only What Changed (EN + ZH)#55
Open
dengn wants to merge 3 commits into
Open
Add Git4Data Part 8: ML Continuous Learning — Train Only What Changed (EN + ZH)#55dengn wants to merge 3 commits into
dengn wants to merge 3 commits into
Conversation
… (EN + ZH) Opens the AI-training arc. Pin the training set with a SNAPSHOT; next round, one DATA BRANCH DIFF gives the exact changed rows so you train only the delta. Includes when-to-use scenarios, the three-step loop (pin -> train+register -> diff delta) with a model<->data chain enabling reproduce/attribute/rollback, a 6-round cost experiment (incremental 6,004 vs full 21,000 rows; gap grows quadratically), and a point-by-point comparison against updated_at watermarks / CDC / two-copies EXCEPT / DVC / lakeFS / Delta CDF with a system-by-system table. EN + ZH, 2 figures each. All SQL verified end-to-end on MatrixOne 4.0.0-rc3. Comparison peer is MatrixOne (git4data is its capability). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… on knowing what changed; spell out machine learning Add an explicit section on when incremental training fits vs when a full retrain is genuinely needed (catastrophic forgetting, concept drift, deletes/corrections = machine unlearning, non-incremental tree models, feature/hyperparameter/architecture changes). Reframe the value: snapshot+DIFF gives the precise 'what changed' answer that powers BOTH incremental training (when it fits) and the retrain decision + reproducibility/attribution/rollback (always). Update title/description accordingly. Replace 'ML' with 'machine learning' throughout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ovided Co-Authored-By: Claude Opus 4.8 (1M context) <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.
What
Adds Part 8 — ML Continuous Learning: Train Only What Changed (EN + ZH), opening the AI-training arc.
matrixorigin/git4data-part8-ml-incremental/matrixorigin/git4data-part8-ml-incremental-zh/The data changes every day — why retrain on everything? Pin the training set with a
SNAPSHOT; next round, oneDATA BRANCH DIFFgives the exact changed rows, so you train only the delta.Content (detailed, scenario-driven, strong comparison)
model ↔ datachain that unlocks exact reproduce / attribute / rollback.updated_atwatermark, CDC/Debezium, two full copies +EXCEPT, DVC / lakeFS, Delta Lake CDF — each with concrete failure modes and a system-by-system table.Figures (2 per language)
fig_incremental-loop— the pin → train → DIFF-delta cycle.fig_cost-curve— full-retrain (quadratic) vs incremental (linear) over 6 rounds.Verification
Every statement verified on MatrixOne 4.0.0-rc3:
DIFF → INSERTED 3000 / UPDATED 200; net delta (value anti-join) = 3200 vs full table 103000; snapshot reproducesm1's set = 100000; 6-round experiment per-round delta stays1000 + a coupleeven as the table grows 6×.pnpm validate→ 369/369.🤖 Generated with Claude Code