CHAPTER 8

image

Machine Learning with scikit-learn

In the chain of processes that make up the data analysis, the construction phase of predictive models and their validation are done by a powerful library called scikit-learn. In this chapter you will see some examples that will illustrate the basic construction of predictive models with some different methods.

The scikit-learn Library

scikit-learn is a Python module that integrates many of machine learning algorithms. This library was developed initially by Cournapeu in 2007, but the first real release was in 2010.

This library is part of the SciPy (Scientific Python) group, a set of libraries created ...

Get Python Data Analytics: Data Analysis and Science Using Pandas, matplotlib, and the Python Programming Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.