Now that you know all about the kNN algorithm, you’re ready to start building performant predictive models in Python. These sorts of predictive models can save you lots of time, whether you’re working with data about sea snails or something else.
In this video course, you learned how to:
- Understand the mathematical foundations behind the kNN algorithm
- Code the kNN algorithm from scratch in NumPy
- Use the scikit-learn implementation to fit a kNN with a minimal amount of code
To continue your machine learning journey, check out the Machine Learning Learning Path, and feel free to leave a comment to share any questions or remarks that you may have.
Further Investigation:
Jerry C on May 24, 2023
This model might help me in my audio classification project. But I wonder if a range of audio frequencies (consider 200 Hz to 8 kHz) would greatly slow processing. Or could the total audio spectrum be condensed by this model. Think of phase shift and time of arrival and distance as parameters. Any comments?