Repository navigation
🌐 [translation-sync] [var_dmd, svd_intro, measurement_models] Correct math, add exercises - #303
Conversation
✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Translation Quality ReviewVerdict: PASS | Model: claude-sonnet-5 | Date: 2026-10-22 📝 Translation Quality
Summary: This is a high-quality, technically accurate translation of a dense linear algebra/statistics lecture. Mathematical content, equation references, and code are preserved correctly, and terminology aligns well with the glossary. Minor fluency issues exist (one slightly awkward sentence split in the SVD section, a small unsupported addition in the Overview, and a minor redundancy in 'The setting' section), but these do not impede comprehension. No blocking or major issues were found in the modified sections, and no markdown/MyST syntax errors were detected. Mathematical notation, equation labels, and LaTeX are preserved accurately throughout all modified sections Core technical terminology (奇异值分解, 特征向量, 伪逆, 极分解, 主成分分析, etc.) is applied consistently and matches the provided glossary Code blocks are faithfully preserved with appropriately translated comments and print statements, maintaining functional equivalence with the source Suggestions:
🔍 Diff Quality
Summary: The translation sync correctly updated only the target file, preserved section order and heading structure, and updated the heading-map keys to match the lowercase English heading changes made in the source. Issues:
This review was generated automatically by action-translation review mode. |
The zh-cn rules (QuantEcon/project-translation#70): a space before inline roles (two lines, three roles) and a full-width colon (one line). All three are in passages this resync did not change. The half-width parentheses in the "应用:主成分分析(PCA)" heading are left as they are: the heading map in the front matter keys on that exact text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
It is a large translation sync adding substantial new mathematical prose and executable exercise code whose runtime/build I cannot verify here, so it warrants human translator/maintainer review.
2 open issues
What changed in this PR
This is an automated translation-sync PR that updates the Chinese translation of lectures/svd_intro.md to match upstream English PR QuantEcon/lecture-python.myst#1055, which corrected math and added exercises for the SVD lecture. The changes keep the zh-cn book in sync with the source material and fit the repository's translation workflow (paired .translate/state/*.yml tracking file).
Changes:
- Corrected/clarified math notation (e.g.
<<→\ll, ordered singular values\sigma_1 \ge \cdots, pseudo-inverse formulas) and rewrote the four-fundamental-subspaces, Eckart-Young, reduced-SVD, polar-decomposition, and PCA sections to match the updated source. - Added three new worked exercises with executable solutions (
svd_ex1–svd_ex3) covering the pseudo-inverse/OLS, numerical verification of Eckart-Young, and a VAR/DMD bridge, plus a new PCA-vs-SVD demonstration on simulated data. - Updated translation state metadata (
source-sha,synced-at2026-10-22,tool-version0.29.6).
| File | Description |
|---|---|
lectures/svd_intro.md |
Synced translated SVD lecture: corrected math, added exercises/solutions and a PCA demo; faithful to source but with minor terminology/link-text inconsistencies. |
.translate/state/svd_intro.md.yml |
Updated sync metadata (source commit SHA, synced-at date, tool version) for the new translation. |
Review effort: Balanced
| * $U$ 是一个解码器,用于处理将运算符 $\Sigma$ 应用于编码数据后的输出 | ||
|
|
||
| 我们将在本讲稍后研究动态模态分解时应用这些概念。 | ||
| 我们将在后续的 {doc}`VARs and DMDs <var_dmd>` 中研究动态模态分解时应用这些概念。 |
| \frac{\sum_{i = 1}^{r} \sigma^2_{i}}{\sum_{i = 1}^{p} \sigma^2_{i}} | ||
| $$ | ||
|
|
||
| 根据埃克特-杨定理(Eckart-Young theorem),$1$ 减去这个比率,也等于 $B$ 的最佳秩 $r$ 近似 $\hat B_r$ 的平方相对弗罗贝尼乌斯范数误差 $||B - \hat B_r||_F^2 / ||B||_F^2$。 |
The resync of QuantEcon/lecture-python.myst#1055 regenerates all three of its lectures, but svd_intro.md was delivered by #303 from the same English. Applying #1055's changes again altered 9 lines of a translation that was already current, so svd_intro.md and its state file go back to main's versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… math, add exercises (#304) * Update translation: lectures/measurement_models.md * Update translation: .translate/state/measurement_models.md.yml * Update translation: lectures/svd_intro.md * Update translation: .translate/state/svd_intro.md.yml * Update translation: lectures/var_dmd.md * Update translation: .translate/state/var_dmd.md.yml * Update translation: lectures/_static/quant-econ.bib * Drop svd_intro from this resync: #303 already delivered it The resync of QuantEcon/lecture-python.myst#1055 regenerates all three of its lectures, but svd_intro.md was delivered by #303 from the same English. Applying #1055's changes again altered 9 lines of a translation that was already current, so svd_intro.md and its state file go back to main's versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * var_dmd: restore the 2025 reviewers' conventions lost in the resync The resync translated the rewritten sections of QuantEcon/lecture-python.myst#1055 afresh, so the conventions Songyi Wang and Humphrey Yang set in their 2025 review of this lecture did not survive. Restored, text only (structure unchanged: 992 lines, 16 headings, 28 directives, 88 math lines, 12 code cells, 2 links): - pseudo-inverse is 广义逆矩阵 and Moore-Penrose is 穆尔-彭罗斯 (7 lines), with the reviewers' Baidu Baike link and their note on the choice; - the case labels are 短胖型情况 and 高瘦型情况, and tall-skinny is 高瘦型; - reduced SVD is 简化 (the resync wrote 约化); - a dimension before 矩阵 takes 的: `$m \times n$ 的矩阵` (18 places). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Automated Translation Sync
This PR contains automated translations from QuantEcon/lecture-python.myst.
Source PR
#1055 - [var_dmd, svd_intro, measurement_models] Correct math, add exercises
Files Updated
lectures/svd_intro.md.translate/state/svd_intro.md.ymlDetails
This PR was created automatically by the translation action.