k-Nearest Neighbors in Python: kNN from Scratch to Scikit-Learn — PickAClass
⏱ 2 ชม. 42 นาที 📚 27 บทเรียน 🎧 เวอร์ชันเสียง

k-Nearest Neighbors in Python: kNN from Scratch to Scikit-Learn

Master the fundamentals of the kNN algorithm by building it from scratch in Python and implementing optimized machine learning pipelines with scikit-learn.

  • 💬 ผู้สอน AI
    ถามเกี่ยวกับบทเรียนใดก็ได้ แล้วรับคำตอบที่ชัดเจนทันที ทุกเมื่อ
  • 🕐 เริ่มเมื่อไรก็ได้
    ไม่มีตารางหรือเดดไลน์ — เรียนตามจังหวะของคุณ เมื่อไรก็ได้
  • 🌐 เป็นภาษาไทย
    บทเรียน แบบฝึกหัด และใบรับรอง — ทั้งหมดเป็นภาษาของคุณอย่างครบถ้วน

เกี่ยวกับคอร์สนี้

Are you ready to take your first steps into machine learning with one of the most intuitive algorithms in the field? The k-Nearest Neighbors (kNN) algorithm is the perfect starting point for understanding how computers learn to classify data and make predictions. Through clear, step-by-step written explanations, you will transition from understanding basic classification theory to building your own working kNN algorithm from scratch. You will then learn how to leverage industry-standard libraries to write clean, production-ready machine learning code. What you'll learn: - Understand the core mathematical concepts of distance metrics, including Euclidean and Manhattan distance - Build a fully functional kNN classifier from scratch using pure Python and NumPy - Implement optimized machine learning pipelines using scikit-learn for classification and regression tasks - Apply modern Python practices, including type hints and clean code structures, to your machine learning scripts - Evaluate model performance using key metrics like accuracy, precision, recall, and cross-validation - Tune hyperparameters, such as selecting the optimal value of k, to prevent overfitting and underfitting This course begins with foundational definitions and the mathematical intuition behind neighborhood-based learning. You will then write a custom implementation to solidify your understanding before moving on to scalable, real-world workflows using modern scikit-learn pipelines. This course is designed for aspiring data scientists, programmers, and beginners curious about machine learning. No prior experience with artificial intelligence is required, though a basic familiarity with Python variables and functions is helpful. Start reading today to build a strong foundation in machine learning and master the kNN algorithm.

สิ่งที่คุณจะได้รับ

  • 📜 ใบประกาศนียบัตร
    เพิ่มในโปรไฟล์ LinkedIn ของคุณ
  • 💬 ติวเตอร์ AI ส่วนตัว
    ติดขัดในบทเรียน? ถามติวเตอร์ในตัวของคุณได้ทุกอย่าง ทุกเวลา
  • 🎧 รวมเวอร์ชันเสียง
    เรียนได้ทุกที่ ไม่ต้องดูจอ
  • ♾️ เข้าถึงตลอดชีพ
    กลับมาเรียนได้ตลอด ไม่มีหมดอายุ
  • 📱 โทรศัพท์หรือคอมพิวเตอร์
    ใช้งานได้ทุกที่ ทุกอุปกรณ์
  • 💸 คืนเงิน 14 วัน
    ไม่ต้องอธิบาย
  • กระชับและตรงประเด็น
    2 ชม. 42 นาที เนื้อหาเชิงปฏิบัติ

ใบประกาศนียบัตร

ทุกคอร์สที่คุณเรียนจบบน PickAClass จะออกใบรับรองแบบนี้ — ต้นฉบับ มีรหัสของตัวเอง ตรวจสอบได้ทาง URL และระบุรายละเอียดสิ่งที่แสดงจริง

P
PickAClass
โปรไฟล์ทักษะ · ตรวจสอบได้
เอกสาร
ใบรับรองความเชี่ยวชาญ
ขอรับรองว่า
ชื่อ นามสกุล
ได้แสดงความเชี่ยวชาญสำเร็จใน
k-Nearest Neighbors in Python: kNN from Scratch to Scikit-Learn
ทักษะที่แสดง
การวิเคราะห์รูปแบบพฤติกรรม
พื้นฐาน
1.2 ชม.
กรอบสถาปัตยกรรมการตัดสินใจ
ชำนาญ
1.4 ชม.
การออกแบบการทดสอบ A/B
ชำนาญ
1.7 ชม.
การเขียนสำเร็จรูปพฤติกรรม
ขั้นสูง
1.9 ชม.
Maksim Fiodarau
CEO, PickAClass · ออกเมื่อ 26.07.2026
รหัสใบรับรอง
PCC-2026-X4F7-AP19
P
PickAClass — ชื่อ นามสกุล
k-Nearest Neighbors in Python: kNN from Scratch to Scikit-Learn
หน้า 2 จาก 2
รายละเอียดผลงาน
สรุปงานเรียน
บทเรียนที่จบ 14 / 14
คำถามฝึกหัด 26 / 28
งานที่ส่ง 4 (เฉลี่ย 4.5 / 5)
โครงการ capstone ตรวจแล้ว — 4.6 / 5
ฝึกทั้งหมด 6.2 ชม.
เกณฑ์ผลงาน
อันดับในรุ่น 12% แรกจาก 1,625
เวลาที่ใช้จนจบ 11 วัน (มัธยฐาน: 22)
คะแนนความเชี่ยวชาญ 91 / 100
คะแนนคำถามฝึกหัด 94%
การยืนยันทักษะ เส้นทางทักษะที่ยืนยันแล้ว
ตรวจสอบใบรับรองนี้
pickaclass.com/certificates/PCC-2026-X4F7-AP19
ออกภายใต้มาตรฐานวิชาการของ PickAClass ระดับทักษะสะท้อนผลงานที่ประเมินเทียบกับเกณฑ์สมรรถนะของคอร์ส นี่คือใบรับรองต้นฉบับของแพลตฟอร์มนี้

รีวิว

ยังไม่มีรีวิว — เป็นคนแรกที่แชร์ประสบการณ์

เขียนรีวิว

หลังจากส่ง เราจะขอให้คุณเข้าสู่ระบบ — ฉบับร่างของคุณถูกบันทึก

ผู้เรียนคนอื่นเรียน

คำถามที่พบบ่อย

ฉันต้องใช้อะไรในการเรียนคอร์สนี้? +

แค่โทรศัพท์หรือคอมพิวเตอร์ที่มีอินเทอร์เน็ต ไม่ต้องติดตั้งหรือใช้อุปกรณ์พิเศษ

ฉันชำระเงินอย่างไร? +

ผ่านบัตรด้วย Stripe เราไม่เก็บข้อมูลบัตร — Stripe จัดการอย่างปลอดภัย

ฉันขอคืนเงินได้ไหม? +

ใช่ — คืนเงินเต็มจำนวนใน 14 วัน ไม่ต้องอธิบาย

ฉันมีสิทธิ์เข้าถึงนานเท่าไร? +

ตลอดไป เมื่อซื้อแล้วคอร์สเป็นของคุณ กลับมาเรียนได้ตลอด

ฉันจะได้ใบประกาศนียบัตรไหม? +

ได้ เมื่อเรียนจบจะได้รับใบประกาศนียบัตรที่เพิ่มในโปรไฟล์ LinkedIn ได้

ออกแบบสำหรับผู้เรียนใน
เทคโนโลยี ดีไซน์ การเงิน การตลาด สาธารณสุข การศึกษา ธุรกิจการบริการ อุตสาหกรรม