Files
flykhan 2536c937e3 feat: 完整中文翻译 maths-cs-ai-compendium(数学·计算机科学·AI 知识大全)
翻译自英文原版 maths-cs-ai-compendium,共 20 章全部完成。

第01章 向量 | 第02章 矩阵 | 第03章 微积分
第04章 统计学 | 第05章 概率论 | 第06章 机器学习
第07章 计算语言学 | 第08章 计算机视觉 | 第09章 音频与语音
第10章 多模态学习 | 第11章 自主系统 | 第12章 图神经网络
第13章 计算与操作系统 | 第14章 数据结构与算法
第15章 生产级软件工程 | 第16章 SIMD与GPU编程
第17章 AI推理 | 第18章 ML系统设计
第19章 应用人工智能 | 第20章 前沿人工智能

翻译说明:
- 所有数学公式 $...$ / $$...$$、代码块、图片引用完整保留
- mkdocs.yml 配置中文导航 + language: zh
- README.md 已翻译为中文(兼 docs/index.md)
- docs/ 目录包含指向各章文件的 symlink
- 约 29,000 行中文内容,排除 .cache/ 构建缓存
2026-05-03 10:23:20 +08:00

33 lines
2.3 KiB
XML

<svg width="700" height="300" xmlns="http://www.w3.org/2000/svg">
<text x="350" y="22" fill="#333" font-size="14" font-weight="bold" text-anchor="middle">Naive Bayes Classification: Two-Class Decision Boundary</text>
<!-- Axes -->
<line x1="60" y1="240" x2="640" y2="240" stroke="#333" stroke-width="1.5"/>
<line x1="60" y1="240" x2="60" y2="40" stroke="#333" stroke-width="1.5"/>
<text x="350" y="265" fill="#666" font-size="11" text-anchor="middle">Feature x</text>
<text x="35" y="140" fill="#666" font-size="11" text-anchor="middle" transform="rotate(-90,35,140)">P(x | class)</text>
<!-- Class 0 Gaussian (blue, left) -->
<path d="M 80,238 C 100,235 130,220 160,185 C 185,150 210,90 250,65 C 270,55 280,54 290,58 C 310,68 330,100 350,140 C 370,180 390,220 420,236" fill="none" stroke="#3498db" stroke-width="2.5"/>
<path d="M 80,238 C 100,235 130,220 160,185 C 185,150 210,90 250,65 C 270,55 280,54 290,58 C 310,68 330,100 350,140 C 370,180 390,220 420,236 Z" fill="#3498db" opacity="0.12"/>
<!-- Class 1 Gaussian (red, right) -->
<path d="M 280,238 C 310,235 340,220 370,185 C 395,150 420,95 460,72 C 480,63 490,62 500,65 C 520,75 540,105 560,145 C 575,175 590,210 620,236" fill="none" stroke="#e74c3c" stroke-width="2.5"/>
<path d="M 280,238 C 310,235 340,220 370,185 C 395,150 420,95 460,72 C 480,63 490,62 500,65 C 520,75 540,105 560,145 C 575,175 590,210 620,236 Z" fill="#e74c3c" opacity="0.12"/>
<!-- Decision boundary -->
<line x1="370" y1="38" x2="370" y2="240" stroke="#9b59b6" stroke-width="2" stroke-dasharray="6,4"/>
<text x="370" y="33" fill="#9b59b6" font-size="11" font-weight="bold" text-anchor="middle">decision boundary</text>
<!-- Class labels -->
<text x="250" y="50" fill="#3498db" font-size="12" font-weight="bold">P(x | C₀)</text>
<text x="490" y="55" fill="#e74c3c" font-size="12" font-weight="bold">P(x | C₁)</text>
<!-- Region labels -->
<text x="200" y="215" fill="#3498db" font-size="11" text-anchor="middle">predict C₀</text>
<text x="520" y="215" fill="#e74c3c" font-size="11" text-anchor="middle">predict C₁</text>
<!-- Explanation -->
<rect x="140" y="272" width="420" height="24" rx="6" fill="#f5f5f5" stroke="#333" stroke-width="1"/>
<text x="350" y="289" fill="#333" font-size="11" text-anchor="middle">Classify x to the class whose posterior P(Cₖ | x) is highest</text>
</svg>