ESL-CN: a Chinese translation whose progress table sits inside a comment
Chinese translation, code implementations, and exercise solutions for The Elements of Statistical Learning (ESL).
At a glance
- What is it?
- A community translation of The Elements of Statistical Learning, with exercise solutions tracked as GitHub milestones and twelve code implementations in R, Julia and notebooks. The detailed section-by-section status is present in the file but hidden from the rendered page, and the exercise links are ordered so that the gaps are invisible.
- Who is it for?
- ESL-CN suits a reader working through The Elements of Statistical Learning who wants Chinese prose alongside runnable implementations, and who is comfortable reading a status page rather than a rendered one. Before relying on it, check four things.
- Can I use it commercially?
- Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository last received commits 64 days ago.
- What is it written in?
- Mainly Jupyter Notebook, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- szcf-weiya/ESL-CN2,797 ★ · +12
| Repository | 2026-09-30 | 2026-11-24 |
|---|---|---|
| szcf-weiya/ESL-CN | 2.8k | 2.8k |
12 Stars in the last 55 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The exercise milestones are listed out of order with four numbers absent
The exercise solutions section is a list of links, and every link points at a GitHub milestone rather than at a file. There are seventeen of them. The order they appear in is 7, 2, 12, 6, 14, 4, 17, 15, 1, 18, 3, 19, 5, 16, 21, 20, 13.
Two things follow from reading that sequence against the numbers. First, it is not sorted, and it is not sorted by any rule a reader could reconstruct; there is no chapter ordering hiding in it, since 12 appears second and 1 appears ninth. Second, and more usefully, the set of numbers present is not 1 through 17. It is 1 through 7 and 12 through 21. The numbers 8, 9, 10 and 11 do not appear at all.
That gap is the actual content of the list. A reader scanning seventeen links in an arbitrary order cannot tell that four milestones are missing, because nothing in the presentation implies a contiguous range. Checking which exercises have solutions means visiting each milestone, or reconstructing the numbering, which the list makes no effort to support.
The choice to track solutions as milestones rather than as files is also why the list carries no content. A milestone can hold an open or closed state and a title, so the link text is empty and the list is seventeen identical entries to a reader who has not opened them.
The progress table is inside a comment and dates from March 2017
The repository does contain a detailed progress record, chapter by chapter and section by section, with a completion marker and a date for each entry. It is wrapped in an HTML comment, so the repository page does not display it. The record is in the file and readable in the source.
Its own header line says it was updated on 2017.03.13. Below that, a list of unfinished sections covers twelve chapters, and the shape of that list is the useful part. Chapters 2, 4, 7, 9 and 17 do not appear among the unfinished ones, which means those chapters were treated as complete at the time of writing. Chapter 18 is the opposite case: every one of its eight sections, 18.1 through 18.8, is listed as unfinished.
Other chapters are partial in the same pattern. Chapter 3 stops after 3.6, chapter 10 stops after 10.6 with 10.7 through 10.14 outstanding, chapter 12 stops after 12.2, chapter 14 stops after 14.3, and chapter 16 has all three of its sections listed as unfinished with nothing marked complete.
So the translation described itself as roughly two-thirds complete in early 2017, weighted toward the earlier chapters, and the record of that claim is hidden from the rendered page. The repository itself is dated later, with a last push in September 2026, so the comment is a snapshot rather than a live status, and nothing in the visible README replaces it.
The dates inside the table also carry a few entry errors, including ranges written with a colon where a date separator belongs and one line ending in a stray ampersand. Those are transcription slips rather than disagreements about status.
A notebook named for section 6 is labelled section 11.6
The code implementations list runs to twelve entries, each linking to a directory under `code/` with a short Chinese label. Entry eleven is the neural network item, and it carries two notebook links rather than one.
The first is labelled Simple Classification and points into a different repository entirely, one named TFnotes rather than ESL-CN. The second is labelled Implementation for Section 11.6 and points into this repository, but the file it reaches is named Implementation-for-Section-6. The link text names section 11.6 and the filename names section 6.
Both cannot describe the same thing, and there is no third reference in the list to settle which is intended. A reader who needs the chapter 11 material has to open the file and read it, and a reader who trusts the link text and finds chapter 6 content has no signal that the label was wrong.
The mixed-repository link also means entry eleven is not self-contained. Part of what the neural network item points at lives outside this project, so the code directory alone does not contain everything the list advertises. The entry for RBM handles the same problem differently, offering both a directory and a notebook view of it, so the inconsistency is between entries rather than a house style.
R, Julia and notebooks, with no dependency manifest at the root
The primary language recorded for the repository is Jupyter Notebook, which tells you what most of the code is but not all of it. Entry one, the EM algorithm simulation, links to a file named em.R, so at least one implementation is R. Entry four, AdaBoost, is labelled as implemented in both R and Julia, so a second language is in play.
Nothing at the repository root records what any of it needs. There is no requirements file, no environment file, no DESCRIPTION file and no lockfile in the top-level listing. The directories that hold the work are `code/` for the implementations, `rmds/` for R Markdown sources, `data/`, `imgs/`, `material/`, `docs/` and a directory named `yeti/` whose purpose the README does not explain.
That absence matters for a repository whose value is that the code runs. The EM implementation needs an R installation with whatever packages its author used, the AdaBoost implementation needs R and Julia in matching states, and the notebooks need a kernel for whichever language each one is written in. None of that is pinned anywhere a reader is directed to, so the implementations are best treated as reference code to read rather than as a project to install.
The site tooling, by contrast, is declared. `mkdocs.yml` sits at the root, and a badge at the top of the README points at a GitHub Actions workflow named gh-pages.yml, so the published site is built from this repository rather than hosted elsewhere.
Two chapters in the bibliography table record no citations at all
A literature statistics table breaks the book down by chapter and counts citations across four journals, abbreviated AOS, JASA, JRSS and BKA, with a fraction showing how many of a chapter's references fall in those four. Twelve chapters are listed, and the counts are internally consistent: each row's four journal figures add up to the numerator beside it.
Two rows are empty. Chapter 4 shows zero in all four columns for a total of 0 out of 7, and chapter 17 likewise shows zero across the board for 0 out of 12. Those two chapters have references, and none of them are in the four journals counted here.
The distribution elsewhere is uneven in an informative way. Chapter 10 carries nine citations, all of them in AOS and none in the other three, and chapter 15 is the same shape with one. Chapter 18 is the only row where JRSS dominates, at four against one in AOS and three in JASA. Chapter 7 is the largest single contribution after chapter 10, split four, six and two across AOS, JASA and JRSS with BKA empty.
So the table is a statement about where each chapter's references were published, not a count of the book's references overall. Reading the percentage column as a coverage figure would be a mistake: the denominators differ per chapter, from 7 to 25, and a chapter with a small denominator can show a high fraction on very few citations.
The notebooks are served from a second subdomain over plain http
The homepage is a documentation site on one subdomain, and the rendered notebooks are on another. The site is esl.hohoweiya.xyz, and the link for the chapter 18 simulation example points at rmd.hohoweiya.xyz with a path ending in a rendered notebook page. Both are the project author's own hosts, but they are separate hosts with separate certificates and separate configurations.
The notebook links use plain http rather than https, and they route through the public nbviewer service rather than the project's own host. The RBM entry offers both forms: a directory link into `code/rbm` and a notebook view pointing at nbviewer. The chapter 18 entry offers only the rendered form on the author's own domain, with no link back to the source directory.
That last asymmetry is the one to watch. Two of the twelve entries lead to notebooks hosted somewhere other than this repository, one of them on a service outside the project entirely, and one of those two uses an unencrypted URL.
The two badges at the top of the README have the same empty-label problem seen in other projects: each is an image link with no alternative text. One points at the gh-pages workflow that builds the site and the other at a Gitter community room, so the visible result is two unlabelled status images rather than a named build badge and a named chat link.
Two root files have no stated purpose
Two entries in the top-level listing are not explained anywhere in the README. One is a Python script called gentag.py, sitting beside the documentation configuration. The other is a Markdown file called testGitRadio.md, whose name reads like a scratch note rather than documentation.
Neither is referenced from the twelve code entries, the seventeen milestone links, the bibliography table or the commented progress record. A reader auditing the repository will find them, find no pointer to them, and have to open both to learn what they do.
That is a small thing on its own, but it belongs to a pattern in this repository: the substantive material is well organised, with one directory per implementation and one milestone per exercise, while the auxiliary files are left undocumented. The build configuration, the licence, the manifest and the site config are all self-explanatory by convention. A script with a four-syllable name and a note with a test-like name are not.
The licensing is unambiguous by contrast. The repository carries GPL-3.0 with a LICENSE file and a MANIFEST.in at the root, and the description on the repository states plainly that this is the Chinese translation, the code implementations and the exercise solutions for The Elements of Statistical Learning. That is a translation and companion-code project rather than a distribution of the book itself.
The README is written in Chinese and the repository publishes no releases
The README is in Chinese, and so are the labels on the twelve code entries, the section headings and the header line of the progress record. English appears in the book title, in the technical terms that were left untranslated such as AdaBoost, CART, MARS, RBM, bootstrap and kernel estimation, and in the file and directory names themselves.
A reader arriving at the repository page expecting an English description will find the structure before they find the words. The chapter numbers, the journal abbreviations and the code paths are all readable without the Chinese, but the labels that say what each entry is about are not translated.
There are no published releases. The repository has no GitHub releases and no tags, so there is no version to pin and no release notes beyond the change history in the file itself. The last push to the default branch is dated 2026-09-22, and the repository is not archived.
The combination is worth stating plainly. The translation effort recorded in the hidden progress table was last updated in 2017, the repository itself was pushed in 2026, and no release marks which state of the translation any given visitor is looking at. The dated table inside the comment is the most precise status record the project publishes, and it is the one part of the README that does not render.
Editorial conclusion
ESL-CN suits a reader working through The Elements of Statistical Learning who wants Chinese prose alongside runnable implementations, and who is comfortable reading a status page rather than a rendered one. Before relying on it, check four things. Go to the milestones yourself rather than trusting the README list, because the links are out of order and four numbers are absent, so the list does not tell you what is missing. Read the progress detail in the file source, since the section-by-section table is inside a comment and does not render, and its own header says it was last updated in March 2017. Check which chapter a notebook belongs to before following it, since one link labelled for section 11.6 points at a file named for section 6, and one of the two neural network notebooks lives in a different repository. And expect no dependency manifest, so the R, Julia and notebook code has no pinned environment at the root.
Frequently asked questions
What is ESL-CN?
A Chinese translation of The Elements of Statistical Learning, together with code implementations and exercise solutions. The repository description gives all three parts, and the twelve code entries cover EM, naive Bayes, CART, AdaBoost, MARS, RBM, Gibbs, self-organising maps, kernel estimation, resampling, neural networks and a high-dimensional example.
How are the ESL-CN exercise solutions tracked?
As GitHub milestones rather than as files. The README links seventeen of them, in an order that is neither numeric nor by chapter, and the numbers 8, 9, 10 and 11 are absent from the list.
Which languages does the ESL-CN code use?
R, Julia and Jupyter notebooks. The primary language recorded for the repository is Jupyter Notebook, the EM entry links to an em.R file, and the AdaBoost entry is labelled as implemented in R and Julia. No dependency manifest appears at the repository root.
How much of ESL-CN is translated?
The progress record in the repository file lists twelve chapters with unfinished sections and was last updated on 2017.03.13. Chapters 2, 4, 7, 9 and 17 are not among the unfinished ones, while all eight sections of chapter 18 are listed as unfinished. That record sits inside an HTML comment and does not render.
Where can I read the ESL-CN translation online?
The project site is esl.hohoweiya.xyz, built from this repository with MkDocs. Rendered notebooks are served separately from rmd.hohoweiya.xyz, and several notebook links route through the public nbviewer service over plain http.
Does ESL-CN publish tagged releases?
No. The repository has no GitHub releases and no tags, so there is no version to pin and no release notes. The last push to the default branch is dated 2026-09-22.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/szcf-weiya-esl-cn)Star history chart for your README
[](https://hysenlabs.com/projects/szcf-weiya-esl-cn)Was this useful?