© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. Pajankar, A. JoshiHands-on Machine Learning with Pythonhttps://doi.org/10.1007/978-1-4842-7921-2_6

6. Preparing Data for Machine Learning

Ashwin Pajankar1   and Aditya Joshi2
(1)
Nashik, Maharashtra, India
(2)
Haldwani, Uttarakhand, India
 

As we saw in the previous chapter, data collection, preparation, and normalization is one of the primary steps in any machine learning experiment. Almost all of the machine learning algorithms (there are some interesting exceptions though) work with vectors of numbers. Even the other algorithms or tools would require data to be formatted in a specific way. So regardless of the kind of original data you are working with, you ...

Get Hands-on Machine Learning with Python: Implement Neural Network Solutions with Scikit-learn and PyTorch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.