Coding k-Nearest Neighbors from Scratch with Python
Master the fundamentals of supervised machine learning by building and evaluating your own kNN algorithm using modern Python.
حول هذه الدورة
Have you ever wanted to truly understand how machine learning algorithms make decisions under the hood? While modern libraries make it easy to import models, building them from scratch is an exceptionally effective way to master the core mathematical and logical concepts of data science. In this text-based course, you will transition from a basic Python programmer to someone who can conceptualize, write, and test a supervised machine learning classifier from first principles. You will learn how to structure your algorithm using modern Python conventions, manage data arrays, and calculate distance metrics manually. What you'll learn: Learn the core mathematical concepts behind the k-Nearest Neighbors (kNN) algorithm; Implement distance formulas like Euclidean distance using clean, modern Python; Structure your machine learning code with type hints and robust object-oriented patterns; Manage and split feature matrices and target vectors manually; Write basic unit tests using pytest to verify your algorithm's predictions; Compare your custom-built model against industry-standard implementations. This course begins with foundational definitions of supervised learning, features, and targets, before guiding you step-by-step through writing the helper functions, building the core prediction loop, and evaluating the final model. It is designed for beginners who have a basic grasp of Python and want to deepen their understanding of machine learning mechanics without relying on black-box libraries. Start reading today to build your machine learning foundations from the ground up.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في درس؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
1 ساعة 26 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
💼 جاهز لسوق العمل
🎓 بشهادة
أساسيات تعلم الآلة: أشجار القرار، آلات المتجهات الداعمة، والشبكات العصبية
شهادة
تطبيق عملي
DH 250.00
→
💼 جاهز لسوق العمل
🎓 بشهادة
علوم البيانات وأسس الذكاء الاصطناعي: تعلم بايثون والتعلم الآلي
شهادة
تطبيق عملي
DH 250.00
→
💼 جاهز لسوق العمل
🎓 بشهادة
التعلم الآلي الموجه في بايثون مع scikit-learn
شهادة
تطبيق عملي
DH 250.00
→
⚡ الأفضل للبداية
🎓 بشهادة
تحليل البيانات المتقدم والنمذجة التنبؤية باستخدام بايثون
شهادة
تطبيق عملي
DH 250.00
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف DH 900 → احصل على 200 أرصدة. كل فئة تكلف DH 112.50 بدلاً من DH 250.00. الأرصدة لا تنتهي أبداً.
DH 900
200 رصيد
DH 112.50 / درس
أفضل قيمة
DH 2,300
550 رصيد
DH 104.55 / درس
DH 4,500
1200 رصيد
DH 93.75 / درس
بدون اشتراك. الرصيد يصلح لأي درس ولا ينتهي.