<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN"><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" hreflang="zh-CN" /><updated>2026-05-11T16:32:09+08:00</updated><id>/feed.xml</id><title type="html">Yaoming 姚鸣</title><subtitle>Notes on AI, systems, and building things.</subtitle><author><name>Yaoming 姚鸣</name><email></email></author><entry><title type="html">《白话机器学习的数学》和《白话深度学习的数学》的示例源代码勘误和本地化工作</title><link href="/2026/05/11/baihua-source-code-localization/" rel="alternate" type="text/html" title="《白话机器学习的数学》和《白话深度学习的数学》的示例源代码勘误和本地化工作" /><published>2026-05-11T00:00:00+08:00</published><updated>2026-05-11T00:00:00+08:00</updated><id>/2026/05/11/baihua-source-code-localization</id><content type="html" xml:base="/2026/05/11/baihua-source-code-localization/"><![CDATA[<p>我把《白话机器学习的数学》和《白话深度学习的数学》的示例源代码做了一次整理。</p>

<p>主要工作很简单：把原来以日文为主的注释和运行输出，整理成英文 / 中文 / 日文的形式；同时修了一些在当前 Python 环境里会影响运行的小问题。</p>

<p>例如，<code class="language-plaintext highlighter-rouge">nn.py</code> 里旧版 NumPy 的 <code class="language-plaintext highlighter-rouge">np.int</code> 已经不可用，所以替换成了 <code class="language-plaintext highlighter-rouge">int</code>；<code class="language-plaintext highlighter-rouge">cnn.py</code> 里原来的 MNIST 下载地址已经返回 404，所以改成了还能访问的镜像地址。</p>

<p>这些修改不改变书里的核心算法、公式和示例结构，目的只是让代码更容易读、更容易跑，也更方便和原始版本对照。</p>

<p>源码仓库在这里：</p>

<p><a href="https://github.com/fewarxrw/baihuasourcecode">https://github.com/fewarxrw/baihuasourcecode</a></p>

<p>I cleaned up the sample source code for <em>The Math of Machine Learning in Plain Language</em> and <em>The Math of Deep Learning in Plain Language</em>.</p>

<p>The main work was straightforward: I localized the mostly Japanese comments and runtime messages into English / Chinese / Japanese, and fixed a few compatibility issues for running the examples in a current Python environment.</p>

<p>For example, <code class="language-plaintext highlighter-rouge">np.int</code> in <code class="language-plaintext highlighter-rouge">nn.py</code> was replaced with <code class="language-plaintext highlighter-rouge">int</code>, and the broken MNIST download URL in <code class="language-plaintext highlighter-rouge">cnn.py</code> was changed to a working mirror.</p>

<p>The core algorithms, formulas, and example structure remain unchanged. The goal is simply to make the code easier to read, easier to run, and easier to compare with the original version.</p>

<p>Source code repository:</p>

<p><a href="https://github.com/fewarxrw/baihuasourcecode">https://github.com/fewarxrw/baihuasourcecode</a></p>]]></content><author><name>Yaoming 姚鸣</name></author><category term="notes" /><category term="machine-learning" /><category term="deep-learning" /><category term="source-code" /><summary type="html"><![CDATA[整理并本地化两本书的示例源代码，让中文和英文读者更容易阅读、运行和对照学习。]]></summary></entry><entry><title type="html">算法学习的起点 / Starting Algorithm Learning</title><link href="/2026/05/10/starting-algorithm-learning/" rel="alternate" type="text/html" title="算法学习的起点 / Starting Algorithm Learning" /><published>2026-05-10T00:00:00+08:00</published><updated>2026-05-10T00:00:00+08:00</updated><id>/2026/05/10/starting-algorithm-learning</id><content type="html" xml:base="/2026/05/10/starting-algorithm-learning/"><![CDATA[<p>《白话机器学习的数学》和《白话深度学习的数学》是开始算法学习的优秀教材。</p>

<p><em>The Math of Machine Learning in Plain Language</em> and <em>The Math of Deep Learning in Plain Language</em> are excellent textbooks for starting to learn algorithms.</p>]]></content><author><name>Yaoming 姚鸣</name></author><category term="notes" /><category term="algorithm" /><category term="machine-learning" /><category term="deep-learning" /><summary type="html"><![CDATA[《白话机器学习的数学》和《白话深度学习的数学》是开始算法学习的优秀教材。]]></summary></entry></feed>