k-Nearest Neighbors in Python: kNN from Scratch to Scikit-Learn — WalkSelf
⏱ 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.

  • 💬 مدرب ذكاء اصطناعي
    اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت.
  • 🕐 ابدأ في أي وقت
    بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك.
  • 🌐 بالعربية
    الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.

حول هذه الدورة

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 دقيقة من المحتوى التطبيقي

المراجعات

لا توجد مراجعات بعد — كن أول من يشارك تجربته.

اكتب مراجعة

☆☆☆☆☆
سنطلب منك تسجيل الدخول بعد الإرسال — تُحفظ مسودتك.

المتعلمون أخذوا أيضًا

الأسئلة الشائعة

ما الذي أحتاجه لأخذ هذه الدورة؟ +

يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.

كيف يمكنني الدفع؟ +

بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.

هل يمكنني استرداد المال؟ +

نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.

إلى متى يستمر وصولي؟ +

إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.

هل سأحصل على شهادة؟ +

نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.

مصمَّم للعاملين في
التقنية التصميم المالية التسويق الرعاية الصحية التعليم الضيافة التصنيع