Skip to Content
Hands-On Machine Learning with scikit-learn and Scientific Python Toolkits
book

Hands-On Machine Learning with scikit-learn and Scientific Python Toolkits

by Tarek Amr
July 2020
Intermediate to advanced
384 pages
8h 38m
English
Packt Publishing
Content preview from Hands-On Machine Learning with scikit-learn and Scientific Python Toolkits
Image Processing with Nearest Neighbors

In this chapter and the following one, we are going to take a different approach. The nearest neighbors algorithm will take a supporting role here, while image processing will be the main protagonist of the chapter. We will start by loading images and we will use Python to represent them in a suitable format for the machine learning algorithms to work with. We will be using the nearest neighbors algorithm for classification and regression. We will also learn how to compress information in images into a smaller space. Many of the concepts explained here are transferable and can be used with other algorithms with slight tweaks. Later, in Chapter 7, NeuralNetworks - Here Comes the Deep Learning, we will ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Interpretable Machine Learning with Python

Interpretable Machine Learning with Python

Serg Masís

Publisher Resources

ISBN: 9781838826048Supplemental Content