ML-For-Beginners / th
AGENTS.md91k starsChanged 14 months agoMITView on GitHub
นี่คือ Machine Learning for Beginners หลักสูตรครอบคลุม 12 สัปดาห์ 26 บทเรียนที่เน้นแนวคิดการเรียนรู้ของเครื่องแบบคลาสสิกโดยใช้ Python (ส่วนใหญ่ใช้ Scikit-learn) และ R โครงการนี้ออกแบบมาเพื่อการเรียนรู้ด้วยตนเอง พร้อมด้วยโปรเจกต์แบบลงมือทำ คำถามแบบทดสอบ และงานมอบหมาย แต่ละบทเรียนจะสำรวจแนวคิด ML ผ่านข้อมูลจริงจากวัฒนธรรมและภูมิภาคต่างๆ ทั่วโลก องค์ประกอบสำคัญ: - เนื้อหาการศึกษา: 26 บทเรียนครอบคลุมการแนะนำ ML, การถดถอย, การจำแนกประเภท, การจัดกลุ่ม, NLP, การวิเคราะห์อนุกรมเวลา และการเรียนรู้แบบเสริมแรง - แอปพลิเคชันแบบทดสอบ: แอปแบบทดสอบที่สร้างด้วย Vue.js พร้อมการประเมินก่อนและหลังบทเรียน - รองรับหลายภาษา: การแปลอัตโนมัติเป็นมากกว่า 40 ภาษาโดยใช้ GitHub Actions - รองรับสองภาษา: บทเรียนมีทั้งใน Python (Jupyter notebooks) และ R (ไฟล์ R Markdown) - การเรียนรู้แบบโปรเจกต์: แต่ละหัวข้อมีโปรเจกต์และงานมอบหมายที่ลงมือทำจริง แต่ละโฟลเดอร์บทเรียนมักจะมี: - README.md - เนื้อหาหลักของบทเรียน - notebook.ipynb - Jupyter notebook สำหรับ Python - solution/ - โค้ดคำตอบ (เวอร์ชัน Python และ…
- 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/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-HK/AGENTS.mdAGENTS.md
- translations/zh-MO/AGENTS.mdAGENTS.md
- translations/zh-TW/AGENTS.mdAGENTS.md
The file
Files
AGENTS.md
ภาพรวมของโครงการ
นี่คือ Machine Learning for Beginners หลักสูตรครอบคลุม 12 สัปดาห์ 26 บทเรียนที่เน้นแนวคิดการเรียนรู้ของเครื่องแบบคลาสสิกโดยใช้ Python (ส่วนใหญ่ใช้ Scikit-learn) และ R โครงการนี้ออกแบบมาเพื่อการเรียนรู้ด้วยตนเอง พร้อมด้วยโปรเจกต์แบบลงมือทำ คำถามแบบทดสอบ และงานมอบหมาย แต่ละบทเรียนจะสำรวจแนวคิด ML ผ่านข้อมูลจริงจากวัฒนธรรมและภูมิภาคต่างๆ ทั่วโลก
องค์ประกอบสำคัญ:
- เนื้อหาการศึกษา: 26 บทเรียนครอบคลุมการแนะนำ ML, การถดถอย, การจำแนกประเภท, การจัดกลุ่ม, NLP, การวิเคราะห์อนุกรมเวลา และการเรียนรู้แบบเสริมแรง
- แอปพลิเคชันแบบทดสอบ: แอปแบบทดสอบที่สร้างด้วย Vue.js พร้อมการประเมินก่อนและหลังบทเรียน
- รองรับหลายภาษา: การแปลอัตโนมัติเป็นมากกว่า 40 ภาษาโดยใช้ GitHub Actions
- รองรับสองภาษา: บทเรียนมีทั้งใน Python (Jupyter notebooks) และ R (ไฟล์ R Markdown)
- การเรียนรู้แบบโปรเจกต์: แต่ละหัวข้อมีโปรเจกต์และงานมอบหมายที่ลงมือทำจริง
โครงสร้างของ Repository
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- Jupyter notebook สำหรับ Pythonsolution/- โค้ดคำตอบ (เวอร์ชัน Python และ R)assignment.md- แบบฝึกหัดimages/- ทรัพยากรภาพประกอบ
คำสั่งการตั้งค่า
สำหรับบทเรียน Python
บทเรียนส่วนใหญ่ใช้ Jupyter notebooks ติดตั้ง dependencies ที่จำเป็น:
# 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 flaskสำหรับบทเรียน R
บทเรียน R อยู่ในโฟลเดอร์ solution/R/ ในรูปแบบ .rmd หรือ .ipynb:
# Install R and required packages
# In R console:
install.packages(c("tidyverse", "tidymodels", "caret"))สำหรับแอปพลิเคชันแบบทดสอบ
แอปแบบทดสอบเป็นแอป Vue.js ที่อยู่ในไดเรกทอรี quiz-app/:
cd quiz-app
npm installสำหรับเว็บไซต์เอกสาร
เพื่อรันเอกสารในเครื่อง:
# Install Docsify
npm install -g docsify-cli
# Serve from repository root
docsify serve
# Access at http://localhost:3000เวิร์กโฟลว์การพัฒนา
การทำงานกับ Lesson Notebooks
- ไปยังไดเรกทอรีบทเรียน (เช่น
2-Regression/1-Tools/) - เปิด Jupyter notebook:
jupyter notebook notebook.ipynb - ทำเนื้อหาและแบบฝึกหัดในบทเรียน
- ตรวจสอบคำตอบในโฟลเดอร์
solution/หากจำเป็น
การพัฒนา Python
- บทเรียนใช้ไลบรารีข้อมูลมาตรฐานของ Python
- Jupyter notebooks สำหรับการเรียนรู้แบบโต้ตอบ
- โค้ดคำตอบมีอยู่ในโฟลเดอร์
solution/ของแต่ละบทเรียน
การพัฒนา R
- บทเรียน R อยู่ในรูปแบบ
.rmd(R Markdown) - คำตอบอยู่ในโฟลเดอร์ย่อย
solution/R/ - ใช้ RStudio หรือ Jupyter พร้อม R kernel เพื่อรัน 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หมายเหตุ: นี่เป็น repository หลักสูตรการศึกษา ไม่มีการทดสอบอัตโนมัติสำหรับเนื้อหาบทเรียน การตรวจสอบทำได้โดย:
- ทำแบบฝึกหัดในบทเรียน
- รันเซลล์ใน notebook สำเร็จ
- ตรวจสอบผลลัพธ์กับคำตอบที่คาดหวังในโฟลเดอร์คำตอบ
แนวทางการเขียนโค้ด
โค้ด Python
- ปฏิบัติตามแนวทาง PEP 8
- ใช้ชื่อตัวแปรที่ชัดเจนและอธิบายได้
- เพิ่มคอมเมนต์สำหรับการดำเนินการที่ซับซ้อน
- Jupyter notebooks ควรมีเซลล์ markdown อธิบายแนวคิด
JavaScript/Vue.js (แอปแบบทดสอบ)
- ปฏิบัติตามแนวทางของ Vue.js
- การตั้งค่า ESLint ใน
quiz-app/package.json - รัน
npm run lintเพื่อตรวจสอบและแก้ไขปัญหาอัตโนมัติ
เอกสาร
- ไฟล์ Markdown ควรชัดเจนและมีโครงสร้างดี
- รวมตัวอย่างโค้ดใน fenced code blocks
- ใช้ลิงก์แบบสัมพัทธ์สำหรับการอ้างอิงภายใน
- ปฏิบัติตามรูปแบบที่มีอยู่แล้ว
การสร้างและการปรับใช้
การปรับใช้แอปพลิเคชันแบบทดสอบ
แอปแบบทดสอบสามารถปรับใช้ใน Azure Static Web Apps:
- ข้อกำหนดเบื้องต้น:
- บัญชี Azure
- Repository GitHub (ที่ fork แล้ว)
- ปรับใช้ใน Azure:
- สร้างทรัพยากร Azure Static Web App
- เชื่อมต่อกับ Repository GitHub
- ตั้งค่าตำแหน่งแอป:
/quiz-app - ตั้งค่าตำแหน่งผลลัพธ์:
dist - Azure สร้าง GitHub Actions workflow อัตโนมัติ
- GitHub Actions Workflow:
- ไฟล์ workflow สร้างที่
.github/workflows/azure-static-web-apps-*.yml - สร้างและปรับใช้อัตโนมัติเมื่อ push ไปยัง branch main
- ไฟล์ workflow สร้างที่
เอกสาร PDF
สร้าง PDF จากเอกสาร:
npm install
npm run convertเวิร์กโฟลว์การแปลภาษา
สำคัญ: การแปลภาษาเป็นแบบอัตโนมัติผ่าน GitHub Actions โดยใช้ Co-op Translator
- การแปลจะถูกสร้างอัตโนมัติเมื่อมีการเปลี่ยนแปลง push ไปยัง branch
main - ห้ามแปลเนื้อหาด้วยตนเอง - ระบบจัดการให้
- Workflow กำหนดใน
.github/workflows/co-op-translator.yml - ใช้บริการ Azure AI/OpenAI สำหรับการแปล
- รองรับมากกว่า 40 ภาษา
แนวทางการมีส่วนร่วม
สำหรับผู้มีส่วนร่วมด้านเนื้อหา
- Fork repository และสร้าง feature branch
- แก้ไขเนื้อหาบทเรียน หากเพิ่ม/อัปเดตบทเรียน
- ห้ามแก้ไขไฟล์ที่แปลแล้ว - ระบบสร้างอัตโนมัติ
- ทดสอบโค้ดของคุณ - ตรวจสอบให้แน่ใจว่าเซลล์ใน notebook ทั้งหมดรันสำเร็จ
- ตรวจสอบลิงก์และภาพ ว่าทำงานถูกต้อง
- ส่ง pull request พร้อมคำอธิบายที่ชัดเจน
แนวทางการส่ง Pull Request
- รูปแบบชื่อเรื่อง:
[Section] คำอธิบายการเปลี่ยนแปลงโดยย่อ- ตัวอย่าง:
[Regression] แก้ไขคำผิดในบทเรียน 5 - ตัวอย่าง:
[Quiz-App] อัปเดต dependencies
- ตัวอย่าง:
- ก่อนส่ง:
- ตรวจสอบให้แน่ใจว่าเซลล์ใน notebook ทั้งหมดรันโดยไม่มีข้อผิดพลาด
- รัน
npm run lintหากแก้ไข quiz-app - ตรวจสอบรูปแบบ Markdown
- ทดสอบตัวอย่างโค้ดใหม่
- PR ต้องมี:
- คำอธิบายการเปลี่ยนแปลง
- เหตุผลของการเปลี่ยนแปลง
- ภาพหน้าจอหากมีการเปลี่ยนแปลง UI
- จรรยาบรรณ: ปฏิบัติตาม Microsoft Open Source Code of Conduct
- CLA: คุณจะต้องลงนามใน Contributor License Agreement
โครงสร้างบทเรียน
แต่ละบทเรียนมีรูปแบบที่สม่ำเสมอ:
- แบบทดสอบก่อนการบรรยาย - ทดสอบความรู้พื้นฐาน
- เนื้อหาบทเรียน - คำแนะนำและคำอธิบายที่เขียนไว้
- การสาธิตโค้ด - ตัวอย่างแบบลงมือทำใน notebooks
- การตรวจสอบความรู้ - ตรวจสอบความเข้าใจตลอดบทเรียน
- ความท้าทาย - ใช้แนวคิดด้วยตนเอง
- งานมอบหมาย - การฝึกฝนเพิ่มเติม
- แบบทดสอบหลังการบรรยาย - ประเมินผลการเรียนรู้
อ้างอิงคำสั่งทั่วไป
# 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 Collection: โมดูล ML สำหรับผู้เริ่มต้น
- แอปแบบทดสอบ: แบบทดสอบออนไลน์
- กระดานสนทนา: GitHub Discussions
- วิดีโอแนะนำ: YouTube Playlist
เทคโนโลยีสำคัญ
- Python: ภาษาเริ่มต้นสำหรับบทเรียน ML (Scikit-learn, Pandas, NumPy, Matplotlib)
- R: การใช้งานทางเลือกโดยใช้ tidyverse, tidymodels, caret
- Jupyter: Notebooks แบบโต้ตอบสำหรับบทเรียน Python
- R Markdown: เอกสารสำหรับบทเรียน R
- Vue.js 3: เฟรมเวิร์กสำหรับแอปแบบทดสอบ
- Flask: เฟรมเวิร์กเว็บแอปพลิเคชันสำหรับการปรับใช้โมเดล ML
- Docsify: ตัวสร้างเว็บไซต์เอกสาร
- GitHub Actions: CI/CD และการแปลอัตโนมัติ
ข้อควรพิจารณาด้านความปลอดภัย
- ไม่มีข้อมูลลับในโค้ด: ห้าม commit API keys หรือข้อมูลรับรอง
- Dependencies: อัปเดตแพ็กเกจ npm และ pip ให้ทันสมัย
- ข้อมูลผู้ใช้: ตัวอย่างเว็บแอป Flask มีการตรวจสอบข้อมูลเบื้องต้น
- ข้อมูลที่ละเอียดอ่อน: ชุดข้อมูลตัวอย่างเป็นข้อมูลสาธารณะและไม่ละเอียดอ่อน
การแก้ไขปัญหา
Jupyter Notebooks
- ปัญหา Kernel: รีสตาร์ท kernel หากเซลล์ค้าง: Kernel → Restart
- ข้อผิดพลาดการนำเข้า: ตรวจสอบให้แน่ใจว่าติดตั้งแพ็กเกจที่จำเป็นทั้งหมดด้วย pip
- ปัญหาเส้นทาง: รัน notebooks จากไดเรกทอรีที่มีไฟล์นั้น
แอปพลิเคชันแบบทดสอบ
- 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
- ปัญหา Kernel: อาจต้องติดตั้ง IRkernel สำหรับ Jupyter
หมายเหตุเฉพาะโครงการ
- นี่เป็นหลักสูตร การเรียนรู้ ไม่ใช่โค้ดสำหรับการผลิต
- เน้นที่ การเข้าใจแนวคิด ML ผ่านการลงมือทำ
- ตัวอย่างโค้ดให้ความสำคัญกับ ความชัดเจนมากกว่าการปรับแต่ง
- บทเรียนส่วนใหญ่ เป็นแบบแยกส่วน และสามารถทำได้อย่างอิสระ
- มีคำตอบให้ แต่ผู้เรียนควรลองทำแบบฝึกหัดก่อน
- Repository ใช้ Docsify สำหรับเอกสารเว็บโดยไม่ต้องมีขั้นตอนการสร้าง
- Sketchnotes ให้สรุปภาพรวมของแนวคิด
- รองรับหลายภาษา ทำให้เนื้อหาเข้าถึงได้ทั่วโลก
ข้อจำกัดความรับผิดชอบ:
เอกสารนี้ได้รับการแปลโดยใช้บริการแปลภาษา AI 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.

