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.
-
💬
Instructor de IA
Pregunta sobre cualquier lección y recibe una respuesta clara al instante, cuando quieras. -
🕐
Empieza cuando quieras
Sin horarios ni fechas límite: aprende a tu ritmo, cuando quieras. -
🌐
En español
Lecciones, tareas y certificado: todo completamente en tu idioma.
Sobre este curso
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.
Lo que obtendrás
-
📜
Certificado de finalización
Añádelo a tu perfil de LinkedIn -
💬
Tutor AI personal
¿Atascado en una lección? Pregúntale a tu tutor integrado lo que quieras, cuando quieras. -
🎧
Versión en audio incluida
Aprende en cualquier momento, sin pantalla -
♾️
Acceso de por vida
Vuelve cuando quieras, sin caducidad -
📱
Teléfono o computadora
Funciona en cualquier dispositivo -
💸
Reembolso de 14 días
Sin preguntas -
⚡
Breve y enfocado
2 h 42 min de contenido práctico
Reseñas
Aún no hay reseñas — sé el primero en compartir tu experiencia.
Otros también tomaron
🌟 Favorito de los estudiantes
🎓 Con certificado
Introducción al aprendizaje automático: Python, R e IA aplicada
Certificado
Práctica
S/ 50.00
→
🌟 Favorito de los estudiantes
🎓 Con certificado
Fundamentos de Programación en Python para Machine Learning
Certificado
Práctica
S/ 50.00
→
⚡ Ideal para empezar
🎓 Con certificado
Fundamentos de Machine Learning con Python
Certificado
Práctica
S/ 50.00
→
🌟 Favorito de los estudiantes
🎓 Con certificado
Python y Machine Learning para la Gestión de Inversiones
Certificado
Práctica
S/ 50.00
→
Preguntas frecuentes
¿Qué necesito para tomar este curso? +
Solo un teléfono o computadora con internet. Sin instalaciones ni hardware especial.
¿Cómo pago? +
Con tarjeta a través de Stripe. No almacenamos datos de tarjeta — Stripe los gestiona de forma segura.
¿Puedo obtener un reembolso? +
Sí — reembolso completo en 14 días, sin preguntas.
¿Por cuánto tiempo tendré acceso? +
Para siempre. Una vez comprado, el curso es tuyo para revisarlo cuando quieras.
¿Obtendré un certificado? +
Sí. Al finalizar recibirás un certificado que puedes añadir a tu perfil de LinkedIn.
Diseñado para profesionales en
Tecnología
Diseño
Finanzas
Marketing
Salud
Educación
Hostelería
Manufactura