Repository navigation
Expand file tree
/
Copy pathch00.html
More file actions
403 lines (365 loc) · 19.2 KB
/
Copy pathch00.html
File metadata and controls
403 lines (365 loc) · 19.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="AI学习路线图,涵盖学习路径、核心领域和推荐资源">
<meta name="keywords" content="AI, 人工智能, 机器学习, 深度学习, Python, 数学基础">
<meta name="author" content="AI Learner">
<title>第零章:学习路线图 - AI学习笔记</title>
<!-- Google Fonts - Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<!-- KaTeX - 轻量级数学公式渲染 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js"
onload="renderMathInElement(document.body, {
delimiters: [
{left: '$$', right: '$$', display: true},
{left: '\\[', right: '\\]', display: true},
{left: '\\(', right: '\\)', display: false},
{left: '$', right: '$', display: false}
],
throwOnError: false
});"></script>
<!-- Prism.js 代码高亮 - tomorrow-night 主题 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-bash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>
<!-- 自定义样式表 -->
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/dark-mode.css">
<link rel="stylesheet" href="../../css/mobile-optimizations.css">
<!-- 内联CSS样式 -->
<!-- AI-Notes共享样式 -->
<link rel="stylesheet" href="assets/ai-notes.css">
</head>
<body>
<nav class="ai-nav">
<a href="#" class="ai-nav-brand">
<i class="fas fa-brain"></i>
AI学习笔记
</a>
<ul class="ai-nav-links" id="navLinks">
<li><a href="#chapter0"><i class="fas fa-map"></i> 学习路线</a></li>
<li><a href="#chapter1"><i class="fab fa-python"></i> Python基础</a></li>
<li><a href="#chapter2"><i class="fas fa-square-root-variable"></i> 数学基础</a></li>
<li><a href="#chapter3"><i class="fas fa-robot"></i> 机器学习</a></li>
<li><a href="#chapter4"><i class="fas fa-network-wired"></i> 深度学习</a></li>
<li><a href="#chapter5"><i class="fas fa-tools"></i> 工程实践</a></li>
<li><a href="#chapter6"><i class="fas fa-rocket"></i> 进阶展望</a></li>
</ul>
<button class="ai-nav-toggle" id="navToggle" aria-label="切换导航">
<i class="fas fa-bars"></i>
</button>
</nav>
<!-- 章节导航 -->
<div class="ai-chapter-nav">
<span class="prev-chapter disabled"><i class="fas fa-arrow-left"></i> 上一章</span>
<a href="index.html" class="toc-link"><i class="fas fa-list"></i> 目录</a>
<a href="ch01.html" class="next-chapter">下一章 <i class="fas fa-arrow-right"></i></a>
</div>
<!-- 主内容 -->
<div class="ai-content-wrapper">
<main class="ai-main">
<!-- ========================================== -->
<!-- 第零章:学习路线图 -->
<!-- ========================================== -->
<section id="chapter0">
<h2 id="sec1" class="ai-section-title">
<i class="fas fa-map-signs"></i>
第零章:学习路线图
</h2>
<div class="ai-box ai-box--objectives">
<h4><i class="fas fa-bullseye"></i> 学习目标</h4>
<ul>
<li>了解AI学习的完整知识体系与各模块之间的关系</li>
<li>明确自己的学习起点和目标方向</li>
<li>掌握后续学习所需的前置知识要求</li>
<li>建立合理的学习计划和时间安排</li>
<li>准备好学习所需的工具和环境</li>
</ul>
</div>
<div class="ai-box ai-box--prereq">
<h4><i class="fas fa-clipboard-check"></i> 前置要求</h4>
<ul>
<li>基本的计算机操作能力</li>
<li>高中数学基础(代数、函数、基础几何)</li>
<li>对AI领域的好奇心和学习热情</li>
<li>愿意投入时间进行动手实践</li>
</ul>
</div>
<figure class="ai-figure">
<img src="https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=AI%20learning%20roadmap%20with%206%20modules%20milestone%20path%20step%20by%20step%20journey%2C%20clean%20educational%20infographic%20style%2C%20flat%20design%2C%20white%20background&image_size=landscape_4_3" alt="AI学习路线图概念图" loading="lazy">
<figcaption><strong>图0-1</strong> AI学习路线图,展示6大模块的里程碑学习路径与进阶方向</figcaption>
</figure>
<h3 id="sub1-1" class="ai-section-subtitle">学习路线图</h3>
<p>以下是AI学习的完整路线图,共分为6大模块,建议按照顺序逐步学习。每个模块都有明确的学习目标和预期成果。</p>
<table class="comparison-table">
<thead>
<tr>
<th><i class="fas fa-list-ol"></i> 模块</th>
<th><i class="fas fa-book"></i> 章节内容</th>
<th><i class="fas fa-clock"></i> 预计时间</th>
<th><i class="fas fa-star"></i> 重要程度</th>
<th><i class="fas fa-flag-checkered"></i> 预期成果</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>模块一</strong></td>
<td>第零章:学习路线图</td>
<td>0.5 周</td>
<td><span style="color:#38a169;">★★</span></td>
<td>明确学习方向,搭建环境</td>
</tr>
<tr>
<td><strong>模块二</strong></td>
<td>第一章:Python编程基础</td>
<td>2 周</td>
<td><span style="color:#38a169;">★★★</span></td>
<td>熟练使用Python进行数据处理</td>
</tr>
<tr>
<td><strong>模块三</strong></td>
<td>第二章:数学基础</td>
<td>2 周</td>
<td><span style="color:#38a169;">★★★</span></td>
<td>理解AI背后的数学原理</td>
</tr>
<tr>
<td><strong>模块四</strong></td>
<td>第三章:机器学习基础</td>
<td>3 周</td>
<td><span style="color:#38a169;">★★★</span></td>
<td>掌握经典ML算法与Scikit-learn</td>
</tr>
<tr>
<td><strong>模块五</strong></td>
<td>第四章:深度学习基础</td>
<td>3 周</td>
<td><span style="color:#38a169;">★★★</span></td>
<td>理解神经网络与PyTorch</td>
</tr>
<tr>
<td><strong>模块六</strong></td>
<td>第五章:工程实践与工具</td>
<td>2 周</td>
<td><span style="color:#38a169;">★★</span></td>
<td>完成端到端ML项目</td>
</tr>
</tbody>
</table>
<h3 id="sub1-2" class="ai-section-subtitle">预计学习时间</h3>
<div class="flow-diagram">
<div class="diagram-section">
<div class="diagram-card">
<i class="fas fa-hourglass-half"></i>
<div class="card-title">总时长</div>
<div class="card-desc">约 12-16 周</div>
</div>
<div class="diagram-arrow"><i class="fas fa-arrow-right"></i></div>
<div class="diagram-card">
<i class="fas fa-calendar-day"></i>
<div class="card-title">每周投入</div>
<div class="card-desc">10-15 小时</div>
</div>
<div class="diagram-arrow"><i class="fas fa-arrow-right"></i></div>
<div class="diagram-card">
<i class="fas fa-tasks"></i>
<div class="card-title">总计</div>
<div class="card-desc">120-240 小时</div>
</div>
</div>
</div>
<h3 id="sub1-3" class="ai-section-subtitle">所需工具清单</h3>
<table class="comparison-table">
<thead>
<tr>
<th><i class="fas fa-wrench"></i> 工具</th>
<th><i class="fas fa-tag"></i> 用途</th>
<th><i class="fas fa-download"></i> 获取方式</th>
<th><i class="fas fa-money-bill"></i> 费用</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Python 3.10+</strong></td>
<td>编程语言</td>
<td><a href="https://python.org" target="_blank">python.org</a></td>
<td>免费</td>
</tr>
<tr>
<td><strong>VS Code</strong></td>
<td>代码编辑器</td>
<td><a href="https://code.visualstudio.com" target="_blank">code.visualstudio.com</a></td>
<td>免费</td>
</tr>
<tr>
<td><strong>Jupyter Notebook</strong></td>
<td>交互式编程环境</td>
<td><code>pip install jupyter</code></td>
<td>免费</td>
</tr>
<tr>
<td><strong>NumPy</strong></td>
<td>数值计算</td>
<td><code>pip install numpy</code></td>
<td>免费</td>
</tr>
<tr>
<td><strong>Matplotlib</strong></td>
<td>数据可视化</td>
<td><code>pip install matplotlib</code></td>
<td>免费</td>
</tr>
<tr>
<td><strong>Git</strong></td>
<td>版本控制</td>
<td><a href="https://git-scm.com" target="_blank">git-scm.com</a></td>
<td>免费</td>
</tr>
</tbody>
</table>
<div class="ai-tip">
<h5>学习建议</h5>
<p>建议使用 <strong>Anaconda</strong> 发行版,它已经预装了 Python、Jupyter Notebook、NumPy、Matplotlib 等常用工具,可以省去大量环境配置时间。安装命令:<code>conda install numpy matplotlib jupyter</code></p>
</div>
</section>
<div class="concept-section">
<h2 id="sec2"><i class="fas fa-code"></i> 代码实践</h2>
<p>以下是一个简单的<strong>学习进度追踪器</strong>,使用Python和JSON来记录你的AI学习进度。你可以运行这个代码来跟踪每个章节的学习状态。</p>
<pre><code class="language-python">
import json
import os
from datetime import datetime
# 学习进度追踪器
class LearningTracker:
def __init__(self, data_file="learning_progress.json"):
self.data_file = data_file
self.progress = self._load()
def _load(self):
if os.path.exists(self.data_file):
with open(self.data_file, 'r', encoding='utf-8') as f:
return json.load(f)
return {}
def _save(self):
with open(self.data_file, 'w', encoding='utf-8') as f:
json.dump(self.progress, f, ensure_ascii=False, indent=2)
def mark_complete(self, chapter, status="已完成"):
self.progress[chapter] = {
"status": status,
"completed_at": datetime.now().strftime("%Y-%m-%d %H:%M")
}
self._save()
print(f"✅ 已标记 {chapter} 为:{status}")
def get_progress(self):
total = 8 # 假设共8个章节
completed = sum(1 for v in self.progress.values() if v["status"] == "已完成")
return completed, total
def show_report(self):
completed, total = self.get_progress()
percent = (completed / total) * 100
print(f"\n📊 学习进度报告")
print(f" 已完成:{completed}/{total} ({percent:.1f}%)")
print(f" 进度条:[{'█' * completed}{'░' * (total - completed)}]")
print("\n📋 详细记录:")
for chapter, info in self.progress.items():
print(f" • {chapter}: {info['status']} ({info['completed_at']})")
# 使用示例
if __name__ == "__main__":
tracker = LearningTracker()
# 标记已完成的章节
tracker.mark_complete("ch00-学习路线图")
tracker.mark_complete("ch02-数学基础")
tracker.mark_complete("ch03-AI基础概念")
# 查看学习报告
tracker.show_report()
</code></pre>
<div class="concept-box">
<h4><i class="fas fa-lightbulb"></i> 运行结果</h4>
<pre><code>
✅ 已标记 ch00-学习路线图 为:已完成
✅ 已标记 ch02-数学基础 为:已完成
✅ 已标记 ch03-AI基础概念 为:已完成
📊 学习进度报告
已完成:3/8 (37.5%)
进度条:[███░░░░░]
📋 详细记录:
• ch00-学习路线图: 已完成 (2024-01-15 10:30)
• ch02-数学基础: 已完成 (2024-01-15 10:30)
• ch03-AI基础概念: 已完成 (2024-01-15 10:30)
</code></pre>
</div>
<p>这个简单的追踪器展示了如何用Python进行<strong>JSON数据持久化</strong>,是学习编程和文件操作的好例子。你可以扩展它,添加更多功能如学习时长记录、笔记存储等。</p>
</div>
<div class="ai-box ai-box--summary" id="summary">
<h3 id="sub2-4"><i class="fas fa-clipboard-list"></i> 本章小结</h3>
<ol>
<li>AI学习需要系统化的路径,从基础到进阶逐步深入。</li>
<li>学习路线分为五个阶段:前置基础、核心原理、工程实践、应用工具、进阶展望。</li>
<li>每个阶段都有明确的学习目标和推荐资源。</li>
<li>实践是学习AI的关键,建议在学习理论的同时动手实践。</li>
<li>持续学习和关注最新发展是AI学习者的必备素质。</li>
</ol>
</div>
</main>
<!-- ========== 右侧目录导航 ========== -->
<aside class="toc-sidebar">
<h3><i class="fas fa-list-ul"></i> 本章目录</h3>
<ul>
<li><a href="#sec1">第零章:学习路线图</a></li>
<li class="toc-sub"><a href="#sub1-1">学习路线图</a></li>
<li class="toc-sub"><a href="#sub1-2">预计学习时间</a></li>
<li class="toc-sub"><a href="#sub1-3">所需工具清单</a></li>
<li><a href="#sec2">代码实践</a></li>
<li class="toc-sub"><a href="#sub2-5">AI学习笔记</a></li>
<li class="toc-sub"><a href="#sub2-6">内容导航</a></li>
<li class="toc-divider"></li>
<li><a href="#summary">章节小结</a></li>
<li><a href="#exercises">练习题</a></li>
</ul>
</aside>
</div>
<!-- 底部导航 -->
<div class="chapter-nav bottom">
<span class="prev-chapter disabled"><i class="fas fa-arrow-left"></i> 上一章</span>
<a href="index.html" class="toc-link"><i class="fas fa-list"></i> 目录</a>
<a href="ch01.html" class="next-chapter">下一章 <i class="fas fa-arrow-right"></i></a>
</div>
<footer class="footer">
<div class="footer-content">
<div class="footer-section">
<h3 id="sub2-5"><i class="fas fa-graduation-cap"></i> AI学习笔记</h3>
<p>从零开始系统学习人工智能</p>
<p>涵盖前置基础、核心原理、工程实践、应用工具、进阶展望</p>
</div>
<div class="footer-section">
<h3 id="sub2-6"><i class="fas fa-bookmark"></i> 内容导航</h3>
<p>第1-11章:基础与核心(见 ai-notes-core.html)</p>
<p>第12-23章:工程实践与进阶(本文件)</p>
<p>附录A:GPU与算力指南</p>
<p>附录B:术语表</p>
</div>
<div class="footer-section">
<h3 id="sub2-7"><i class="fas fa-info-circle"></i> 说明</h3>
<p>本笔记仅供学习参考,内容如有错误欢迎指正。</p>
<p>AI技术发展迅速,部分信息可能随时间变化。</p>
</div>
</div>
<div class="footer-bottom">
<p>AI学习笔记 © 2024 | 持续更新中</p>
</div>
</footer>
</div><!-- /ai-notes-container -->
<script src="../../js/mobile-menu.js"></script>
<script src="../../js/dark-mode.js"></script>
<script src="assets/ai-notes.js"></script>
</body>
</html>