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.
-
💬
Instruktor AI
Zadawaj pytania o każdą lekcję i otrzymuj jasną odpowiedź od razu, o każdej porze. -
🕐
Zacznij kiedy chcesz
Bez harmonogramów i terminów — ucz się we własnym tempie, kiedy chcesz. -
🌐
Po polsku
Lekcje, zadania i certyfikat — wszystko w pełni w Twoim języku.
O tym kursie
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.
Co otrzymasz
-
📜
Certyfikat ukończenia
Dodaj do profilu LinkedIn -
💬
Osobisty tutor AI
Utknąłeś na lekcji? Zapytaj wbudowanego tutora o cokolwiek, w dowolnej chwili. -
🎧
Wersja audio w zestawie
Ucz się w drodze — bez ekranu -
♾️
Dożywotni dostęp
Wracaj, kiedy chcesz — bez wygaśnięcia -
📱
Telefon lub komputer
Działa wszędzie, na każdym urządzeniu -
💸
Zwrot w 14 dni
Bez pytań -
⚡
Krótko i konkretnie
2 godz 42 min praktycznej treści
Recenzje
Brak recenzji — bądź pierwszą osobą, która podzieli się doświadczeniem.
Inni uczyli się też
🌟 Wybór studentów
🎓 Z certyfikatem
Wprowadzenie do uczenia maszynowego: Python, R i stosowana sztuczna inteligencja
Certyfikat
Praktyka
$14.99
→
🌟 Wybór studentów
🎓 Z certyfikatem
Podstawy programowania Pythona dla uczenia maszynowego
Certyfikat
Praktyka
$14.99
→
🔥 Popularne
🎓 Z certyfikatem
Podstawy Data Science: Ucz się, budując projekty
Certyfikat
Praktyka
$14.99
→
⚡ Najlepszy na start
🎓 Z certyfikatem
Podstawy uczenia maszynowego z Pythonem
Certyfikat
Praktyka
$14.99
→
Najczęstsze pytania
Czego potrzebuję, by wziąć udział w tym kursie? +
Wystarczy telefon lub komputer z internetem. Bez instalacji i specjalnego sprzętu.
Jak zapłacić? +
Kartą przez Stripe. Nie przechowujemy danych karty — robi to bezpiecznie Stripe.
Czy mogę otrzymać zwrot? +
Tak — pełen zwrot w 14 dni, bez pytań.
Jak długo będę mieć dostęp? +
Na zawsze. Po zakupie kurs jest twój — wracaj, kiedy chcesz.
Czy dostanę certyfikat? +
Tak. Po ukończeniu otrzymasz certyfikat, który możesz dodać do profilu LinkedIn.
Stworzony dla uczących się w
IT
Design
Finanse
Marketing
Ochrona zdrowia
Edukacja
Hotelarstwo
Produkcja