ML-For-Beginners / zh-HK
AGENTS.md91k starsChanged 14 months agoMITView on GitHub
這是 機器學習初學者課程,一個為期12週、共26課的完整課程,涵蓋使用 Python(主要使用 Scikit-learn)和 R 的經典機器學習概念。本倉庫設計為自學資源,包含實踐項目、測驗和作業。每節課通過來自世界各地不同文化和地區的真實數據探索機器學習概念。 主要內容: - 教育內容:26節課涵蓋機器學習入門、回歸、分類、聚類、自然語言處理(NLP)、時間序列和強化學習 - 測驗應用:基於 Vue.js 的測驗應用,提供課前和課後評估 - 多語言支持:通過 GitHub Actions 自動翻譯至40多種語言 - 雙語支持:課程提供 Python(Jupyter notebooks)和 R(R Markdown 文件)版本 - 項目式學習:每個主題都包含實踐項目和作業 每個課程文件夾通常包含: - README.md - 主要課程內容 - notebook.ipynb - Python Jupyter notebook - solution/ - 解決方案代碼(Python 和 R 版本) - assignment.md - 練習題 - images/ - 視覺資源 大多數課程使用 Jupyter notebooks。安裝所需依賴項: R 課程位於 solution/R/ 文件夾中,格式為 .rmd 或 .ipynb 文件: 測驗應用是一個位於 quiz-app/ 目錄中的 Vue.js 應用: 注意:這主要是一個教育課程倉庫,課程內容沒有自動化測試。驗證通過以下方式完成: - 完成課程練習 - 成功運行 notebook 的所有單元格 - 將輸出與解決方案中的預期結果進行比對 測驗應用可以部署到 Azure…
- Deletes or force-pushes
- Installs packages
- Commits and pushes
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about microsoft/ML-For-Beginners
- A Hacker News story“ML for Beginners GitHub”Hacker News · Nov 15, 2023 · 188 points
- A Hacker News story“Machine Learning for Beginners – A Curriculum”Hacker News · Jul 2, 2021 · 105 points
- @ramikrispin.bsky.social“(1/3) Machine Learning for Beginners Course 🚀 The ML for Beginners is a course by Microsoft that covers …”Bluesky · Mar 10, 2024 · 7 likes
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ML-For-Beginners ⭐ 80,559 (+252) 🗒 Jupyter Notebook 12 …”Bluesky · Dec 8, 2025 · 2 likes
- @github-trending.bsky.social“📦 microsoft / ML-For-Beginners ⭐ 79,617 (+93) 🗒 Jupyter Notebook 12 weeks, 26 lessons, 52 quizzes, …”Bluesky · Dec 5, 2025 · 2 likes
The biggest 5 of 64 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 64
Talked about on GitHub, Bluesky and Hacker News (64 times).
On GitHub · 50
- Nov 4, 2021Startlesson1 — flowin777/github-slideshow1 reaction
- Nov 27, 202609-real-world: Model Debugging Dashboard — rajpatil1390/ml-journey0 reactions
- Nov 27, 202608-reinforcement: Q-Learning Agent — rajpatil1390/ml-journey0 reactions
- Nov 27, 202607-timeseries: Energy Load Forecaster — rajpatil1390/ml-journey0 reactions
- Nov 27, 202606-nlp: Hotel Review Sentiment Analyzer — rajpatil1390/ml-journey0 reactions
45 more on GitHub
- Nov 27, 202605-clustering: Nigerian Music Clusters — rajpatil1390/ml-journey0 reactions
- Nov 27, 202604-classification: Cuisine Classifier — rajpatil1390/ml-journey0 reactions
- Nov 27, 202603-web-app: UFO Sighting Country Predictor — rajpatil1390/ml-journey0 reactions
- Nov 27, 202602-regression: Pumpkin Price Predictor — rajpatil1390/ml-journey0 reactions
- Nov 27, 202601-intro: ML Workflow Explorer — rajpatil1390/ml-journey0 reactions
- Nov 25, 2026Tarun J Singh (2601010366) — R37-T034: token-budget preflight — invariant and state trace [6-NLP/5-Hotel-Reviews-2] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Tarun J Singh (2601010366) — R37-T033: nearest-centroid assignment — compare two approaches [5-Clustering/2-K-Means] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Tarun J Singh (2601010366) — R37-T032: classification evaluation — boundary-case lesson extension [4-Classification/3-Classifiers-2] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Tarun J Singh (2601010366) — R37-T031: classification evaluation — runnable concept example [4-Classification/1-Introduction] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Swastik Rajpurohit (2601010359) — R37-T038: regression evaluation — failure and recovery example [2-Regression/2-Data] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Swastik Rajpurohit (2601010359) — R37-T037: classification evaluation — worked example with checks [4-Classification/1-Introduction] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Swastik Rajpurohit (2601010359) — R37-T036: security-scenario rubric — refactor the teaching example [1-Introduction/4-techniques-of-ML] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Shivam Garg (2601010334) — R37-T045: classification evaluation — offline service adapter [2-Regression/4-Logistic] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Shivam Garg (2601010334) — R37-T044: nearest-centroid assignment — invariant and state trace [5-Clustering/1-Visualize] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Shivam Garg (2601010334) — R37-T043: bounded conversation memory — worked example with checks [7-TimeSeries/2-ARIMA] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Shivam Garg (2601010334) — R37-T042: typed tool dispatch — compare two approaches [2-Regression/1-Tools] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Shivam Garg (2601010334) — R37-T041: token-budget preflight — boundary-case lesson extension [6-NLP/3-Translation-Sentiment] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Paras (2601010245) — R37-T050: finite-state reward trace — runnable concept example [8-Reinforcement/1-QLearning] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Paras (2601010245) — R37-T049: classification evaluation — scenario assessment [4-Classification/1-Introduction] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Paras (2601010245) — R37-T048: chronological evaluation split — failure and recovery example [7-TimeSeries/1-Introduction] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Paras (2601010245) — R37-T047: regression evaluation — evaluation experiment [2-Regression/2-Data] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Paras (2601010245) — R37-T046: security-scenario rubric — refactor the teaching example [1-Introduction/2-history-of-ML] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Palak Giri (2601010240) — R37-T055: allowlisted action policy — evaluation experiment [9-Real-World/2-Debugging-ML-Models] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Palak Giri (2601010240) — R37-T054: security-scenario rubric — invariant and state trace [9-Real-World/1-Applications] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Palak Giri (2601010240) — R37-T053: chronological evaluation split — compare two approaches [7-TimeSeries/1-Introduction] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Palak Giri (2601010240) — R37-T052: token-budget preflight — boundary-case lesson extension [6-NLP/5-Hotel-Reviews-2] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Nischay Kumar Jain (2601010238) — R37-T060: security-scenario rubric — runnable concept example [1-Introduction/1-intro-to-ML] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Nischay Kumar Jain (2601010238) — R37-T059: finite-state reward trace — scenario assessment [8-Reinforcement/1-QLearning] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Nischay Kumar Jain (2601010238) — R37-T058: classification evaluation — failure and recovery example [4-Classification/2-Classifiers-1] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Nischay Kumar Jain (2601010238) — R37-T057: token-budget preflight — worked example with checks [6-NLP/5-Hotel-Reviews-2] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 25, 2026Nischay Kumar Jain (2601010238) — R37-T056: classification evaluation — refactor the teaching example [4-Classification/4-Applied] — s-and-ai-ru-2/ML-For-Beginners0 reactions
- Nov 16, 2026Instalación documentada y licencias confirmadas (cat. 17-22) — Cristrva1/BL_Alexandria0 reactions
- Nov 3, 2026Soumya Pandit — R37-T053: chronological evaluation split — compare two approaches [7-TimeSeries/1-Introduction] — S-AI-Projects/ML-For-Beginners0 reactions · 1 comment
- Nov 3, 2026Vaibhav Tripathi — R37-T048: chronological evaluation split — failure and recovery example [7-TimeSeries/1-Introduction] — S-AI-Projects/ML-For-Beginners0 reactions
- Nov 3, 2026Vaibhav Tripathi — R37-T044: nearest-centroid assignment — invariant and state trace [5-Clustering/1-Visualize] — S-AI-Projects/ML-For-Beginners0 reactions
- Nov 3, 2026Vaibhav Tripathi — R37-T043: bounded conversation memory — worked example with checks [7-TimeSeries/2-ARIMA] — S-AI-Projects/ML-For-Beginners0 reactions
- Nov 3, 2026Samrudha Borse — R37-T026: allowlisted action policy — worked example with checks [1-Introduction/3-fairness] — S-AI-Projects/ML-For-Beginners0 reactions · 1 comment
- Nov 3, 2026Samrudha Borse — R37-T022: allowlisted action policy — compare two approaches [1-Introduction/3-fairness] — S-AI-Projects/ML-For-Beginners0 reactions · 1 comment
- Nov 3, 2026SANSKAR SONI — R37-T017: chronological evaluation split — worked example with checks [7-TimeSeries/1-Introduction] — S-AI-Projects/ML-For-Beginners0 reactions
- Nov 3, 2026SANSKAR SONI — R37-T012: cosine-similarity lookup — boundary-case lesson extension [6-NLP/2-Tasks] — S-AI-Projects/ML-For-Beginners0 reactions
- Nov 3, 2026SANSKAR SONI — R37-T011: finite-state reward trace — runnable concept example [8-Reinforcement/2-Gym] — S-AI-Projects/ML-For-Beginners0 reactions
- Nov 3, 2026Parth Arun Maskar — R37-T008: nearest-centroid assignment — failure and recovery example [5-Clustering/1-Visualize] — S-AI-Projects/ML-For-Beginners0 reactions · 1 comment
- Nov 3, 2026Parth Arun Maskar — R37-T004: cosine-similarity lookup — invariant and state trace [6-NLP/2-Tasks] — S-AI-Projects/ML-For-Beginners0 reactions · 1 comment
- Oct 1, 2026💎 Knowledge Update & Optimization: 01 Oct 2026 — nubenetes/awesome-kubernetes0 reactions · 40 comments
- Sep 4, 2026Curso ML for beginners — MarioCodes/dotnet-ai-experiments0 reactions
On Bluesky · 12
- Mar 10, 2024(1/3) Machine Learning for Beginners Course 🚀 The ML for Beginners is a course by Microsoft that covers the foundation of machine… — @ramikrispin.bsky.social7 likes and reposts · 1 reply
- Dec 8, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ML-For-Beginners ⭐ 80,559 (+252) 🗒 Jupyter Notebook 12 weeks, 26 lessons, 52 quizzes,… — @github-trending.bsky.social2 likes and reposts
- Dec 5, 2025📦 microsoft / ML-For-Beginners ⭐ 79,617 (+93) 🗒 Jupyter Notebook 12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all — @github-trending.bsky.social2 likes and reposts
- Jun 26, 2025📦 microsoft / ML-For-Beginners ⭐ 72,905 (+51) 🗒 HTML 12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all — @github-trending.bsky.social2 likes and reposts
- Jan 7, 2025Machine Learning for Beginners - A Curriculum by Microsoft github.com/microsoft/ML... — @fordevelopers.bsky.social2 likes and reposts
7 more on Bluesky
- Apr 1, 2024📦 microsoft / ML-For-Beginners ⭐ 65,345 (+35) 🗒 HTML 12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all — @github-trending.bsky.social2 likes and reposts
- Dec 3, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ML-For-Beginners ⭐ 61,133 (+159) 🗒 HTML 12 weeks, 26 lessons, 52 quizzes, classic Machine… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Nov 16, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / ML-For-Beginners ⭐ 55,562 (+464) 🗒 HTML 12 weeks, 26 lessons, 52 quizzes, classic… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Nov 15, 2023ML for Beginners GitHub (github.com) Main Link | HN Post — @newsycombinator.bsky.social2 likes and reposts
- Jul 20, 20259️⃣ ML for Beginners by Microsoft Free, beginner-friendly ML intro, learn concepts & real-world practices. 🔗 github.com/microsoft/M... — @arindam-1729.bsky.social1 likes and repost · 1 reply
- Jan 3, 2026Machine Learning for Beginners (Microsoft) Beginner-friendly ML curriculum with practical examples and exercises. github.com/microsoft/ML... — @jackfusion.bsky.social0 likes and reposts · 1 reply
- Jul 2, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 microsoft / ML-For-Beginners ⭐ 50,091 (+125) 🗒 HTML 12 weeks, 26 lessons, 52 quizzes, classic Machine… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Nov 15, 2023ML for Beginners GitHub188 points · 30 comments
- Jul 2, 2021Machine Learning for Beginners – A Curriculum105 points · 2 comments
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/ar/AGENTS.mdAGENTS.md
- translations/bg/AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/de/AGENTS.mdAGENTS.md
- translations/el/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/et/AGENTS.mdAGENTS.md
- translations/fa/AGENTS.mdAGENTS.md
- translations/fi/AGENTS.mdAGENTS.md
- translations/fr/AGENTS.mdAGENTS.md
- translations/he/AGENTS.mdAGENTS.md
- translations/hi/AGENTS.mdAGENTS.md
- translations/hr/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/it/AGENTS.mdAGENTS.md
- translations/ja/AGENTS.mdAGENTS.md
- translations/km/AGENTS.mdAGENTS.md
- translations/kn/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/ml/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/my/AGENTS.mdAGENTS.md
- translations/ne/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/no/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pcm/AGENTS.mdAGENTS.md
- translations/pl/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/ro/AGENTS.mdAGENTS.md
- translations/ru/AGENTS.mdAGENTS.md
- translations/sk/AGENTS.mdAGENTS.md
- translations/sl/AGENTS.mdAGENTS.md
- translations/sr/AGENTS.mdAGENTS.md
- translations/sv/AGENTS.mdAGENTS.md
- translations/sw/AGENTS.mdAGENTS.md
- translations/ta/AGENTS.mdAGENTS.md
- translations/te/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/tr/AGENTS.mdAGENTS.md
- translations/uk/AGENTS.mdAGENTS.md
- translations/ur/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- translations/zh-CN/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
The file
Files
AGENTS.md
項目概述
這是 機器學習初學者課程,一個為期12週、共26課的完整課程,涵蓋使用 Python(主要使用 Scikit-learn)和 R 的經典機器學習概念。本倉庫設計為自學資源,包含實踐項目、測驗和作業。每節課通過來自世界各地不同文化和地區的真實數據探索機器學習概念。
主要內容:
- 教育內容:26節課涵蓋機器學習入門、回歸、分類、聚類、自然語言處理(NLP)、時間序列和強化學習
- 測驗應用:基於 Vue.js 的測驗應用,提供課前和課後評估
- 多語言支持:通過 GitHub Actions 自動翻譯至40多種語言
- 雙語支持:課程提供 Python(Jupyter notebooks)和 R(R Markdown 文件)版本
- 項目式學習:每個主題都包含實踐項目和作業
倉庫結構
ML-For-Beginners/
├── 1-Introduction/ # ML basics, history, fairness, techniques
├── 2-Regression/ # Regression models with Python/R
├── 3-Web-App/ # Flask web app for ML model deployment
├── 4-Classification/ # Classification algorithms
├── 5-Clustering/ # Clustering techniques
├── 6-NLP/ # Natural Language Processing
├── 7-TimeSeries/ # Time series forecasting
├── 8-Reinforcement/ # Reinforcement learning
├── 9-Real-World/ # Real-world ML applications
├── quiz-app/ # Vue.js quiz application
├── translations/ # Auto-generated translations
└── sketchnotes/ # Visual learning aids每個課程文件夾通常包含:
README.md- 主要課程內容notebook.ipynb- Python Jupyter notebooksolution/- 解決方案代碼(Python 和 R 版本)assignment.md- 練習題images/- 視覺資源
設置命令
Python 課程
大多數課程使用 Jupyter notebooks。安裝所需依賴項:
# Install Python 3.8+ if not already installed
python --version
# Install Jupyter
pip install jupyter
# Install common ML libraries
pip install scikit-learn pandas numpy matplotlib seaborn
# For specific lessons, check lesson-specific requirements
# Example: Web App lesson
pip install flaskR 課程
R 課程位於 solution/R/ 文件夾中,格式為 .rmd 或 .ipynb 文件:
# Install R and required packages
# In R console:
install.packages(c("tidyverse", "tidymodels", "caret"))測驗應用
測驗應用是一個位於 quiz-app/ 目錄中的 Vue.js 應用:
cd quiz-app
npm install文檔網站
本地運行文檔:
# Install Docsify
npm install -g docsify-cli
# Serve from repository root
docsify serve
# Access at http://localhost:3000開發工作流程
使用課程筆記本
- 進入課程目錄(例如
2-Regression/1-Tools/) - 打開 Jupyter notebook:
jupyter notebook notebook.ipynb - 完成課程內容和練習
- 如有需要,可查看
solution/文件夾中的解決方案
Python 開發
- 課程使用標準的 Python 數據科學庫
- 使用 Jupyter notebooks 進行交互式學習
- 每節課的
solution/文件夾中提供解決方案代碼
R 開發
- R 課程以
.rmd格式(R Markdown)提供 - 解決方案位於
solution/R/子目錄中 - 使用 RStudio 或帶有 R kernel 的 Jupyter 運行 R notebooks
測驗應用開發
cd quiz-app
# Start development server
npm run serve
# Access at http://localhost:8080
# Build for production
npm run build
# Lint and fix files
npm run lint測試說明
測驗應用測試
cd quiz-app
# Lint code
npm run lint
# Build to verify no errors
npm run build注意:這主要是一個教育課程倉庫,課程內容沒有自動化測試。驗證通過以下方式完成:
- 完成課程練習
- 成功運行 notebook 的所有單元格
- 將輸出與解決方案中的預期結果進行比對
代碼風格指南
Python 代碼
- 遵循 PEP 8 風格指南
- 使用清晰、描述性的變量名稱
- 為複雜操作添加註釋
- Jupyter notebooks 應包含解釋概念的 markdown 單元格
JavaScript/Vue.js(測驗應用)
- 遵循 Vue.js 風格指南
- ESLint 配置位於
quiz-app/package.json - 運行
npm run lint檢查並自動修復問題
文檔
- Markdown 文件應清晰且結構良好
- 在圍欄代碼塊中包含代碼示例
- 使用相對鏈接進行內部引用
- 遵循現有的格式約定
構建和部署
測驗應用部署
測驗應用可以部署到 Azure 靜態 Web 應用:
- 先決條件:
- Azure 帳戶
- GitHub 倉庫(已經 fork)
- 部署到 Azure:
- 創建 Azure 靜態 Web 應用資源
- 連接到 GitHub 倉庫
- 設置應用位置:
/quiz-app - 設置輸出位置:
dist - Azure 自動創建 GitHub Actions 工作流
- GitHub Actions 工作流:
- 工作流文件創建於
.github/workflows/azure-static-web-apps-*.yml - 推送到主分支時自動構建和部署
- 工作流文件創建於
文檔 PDF
從文檔生成 PDF:
npm install
npm run convert翻譯工作流程
重要:翻譯通過 GitHub Actions 使用 Co-op Translator 自動完成。
- 當更改推送到
main分支時,翻譯會自動生成 - 請勿手動翻譯內容 - 系統會處理
- 工作流定義於
.github/workflows/co-op-translator.yml - 使用 Azure AI/OpenAI 服務進行翻譯
- 支持40多種語言
貢獻指南
對內容貢獻者的要求
- Fork 倉庫並創建功能分支
- 修改課程內容以添加或更新課程
- 不要修改翻譯文件 - 它們是自動生成的
- 測試代碼 - 確保所有 notebook 單元格成功運行
- 驗證鏈接和圖片是否正常工作
- 提交拉取請求並提供清晰的描述
拉取請求指南
- 標題格式:
[部分] 簡要描述更改- 示例:
[回歸] 修正第5課中的拼寫錯誤 - 示例:
[測驗應用] 更新依賴項
- 示例:
- 提交前:
- 確保所有 notebook 單元格無錯誤執行
- 如果修改了測驗應用,運行
npm run lint - 驗證 markdown 格式
- 測試任何新的代碼示例
- 拉取請求必須包含:
- 更改描述
- 更改原因
- 如果有 UI 更改,提供截圖
- 行為準則:遵循 Microsoft 開源行為準則
- CLA:您需要簽署貢獻者許可協議
課程結構
每節課遵循一致的模式:
- 課前測驗 - 測試基礎知識
- 課程內容 - 書面指導和解釋
- 代碼演示 - notebook 中的實踐示例
- 知識檢查 - 驗證理解
- 挑戰 - 獨立應用概念
- 作業 - 延伸練習
- 課後測驗 - 評估學習成果
常用命令參考
# Python/Jupyter
jupyter notebook # Start Jupyter server
jupyter notebook notebook.ipynb # Open specific notebook
pip install -r requirements.txt # Install dependencies (where available)
# Quiz App
cd quiz-app
npm install # Install dependencies
npm run serve # Development server
npm run build # Production build
npm run lint # Lint and fix
# Documentation
docsify serve # Serve documentation locally
npm run convert # Generate PDF
# Git workflow
git checkout -b feature/my-change # Create feature branch
git add . # Stage changes
git commit -m "Description" # Commit changes
git push origin feature/my-change # Push to remote附加資源
- Microsoft Learn 集合:機器學習初學者模塊
- 測驗應用:在線測驗
- 討論板:GitHub Discussions
- 視頻教程:YouTube 播放列表
核心技術
- Python:機器學習課程的主要語言(Scikit-learn, Pandas, NumPy, Matplotlib)
- R:使用 tidyverse, tidymodels, caret 的替代實現
- Jupyter:Python 課程的交互式筆記本
- R Markdown:R 課程的文檔格式
- Vue.js 3:測驗應用框架
- Flask:機器學習模型部署的 Web 應用框架
- Docsify:文檔網站生成器
- GitHub Actions:CI/CD 和自動翻譯
安全考量
- 代碼中不包含秘密信息:切勿提交 API 密鑰或憑據
- 依賴項:保持 npm 和 pip 包更新
- 用戶輸入:Flask Web 應用示例包含基本輸入驗證
- 敏感數據:示例數據集是公開且無敏感信息的
故障排除
Jupyter Notebooks
- 內核問題:如果單元格掛起,重啟內核:Kernel → Restart
- 導入錯誤:確保使用 pip 安裝了所有所需包
- 路徑問題:從 notebook 所在目錄運行
測驗應用
- npm install 失敗:清除 npm 緩存:
npm cache clean --force - 端口衝突:更改端口:
npm run serve -- --port 8081 - 構建錯誤:刪除
node_modules並重新安裝:rm -rf node_modules && npm install
R 課程
- 未找到包:使用以下命令安裝:
install.packages("package-name") - RMarkdown 渲染:確保已安裝 rmarkdown 包
- 內核問題:可能需要為 Jupyter 安裝 IRkernel
項目特定注意事項
- 這主要是一個 學習課程,而非生產代碼
- 重點在於通過實踐理解 機器學習概念
- 代碼示例以 清晰性優先於優化 為原則
- 大多數課程是 自包含的,可獨立完成
- 提供解決方案,但學習者應先嘗試完成練習
- 倉庫使用 Docsify 生成 Web 文檔,無需構建步驟
- 手繪筆記 提供概念的視覺摘要
- 多語言支持 使內容全球可訪問
免責聲明:
本文件已使用人工智能翻譯服務 Co-op Translator 進行翻譯。儘管我們致力於提供準確的翻譯,但請注意,自動翻譯可能包含錯誤或不準確之處。原始文件的母語版本應被視為權威來源。對於重要信息,建議使用專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或錯誤解釋概不負責。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

