Book Image

Machine Learning with scikit-learn Quick Start Guide

By : Kevin Jolly
Book Image

Machine Learning with scikit-learn Quick Start Guide

By: Kevin Jolly

Overview of this book

Scikit-learn is a robust machine learning library for the Python programming language. It provides a set of supervised and unsupervised learning algorithms. This book is the easiest way to learn how to deploy, optimize, and evaluate all of the important machine learning algorithms that scikit-learn provides. This book teaches you how to use scikit-learn for machine learning. You will start by setting up and configuring your machine learning environment with scikit-learn. To put scikit-learn to use, you will learn how to implement various supervised and unsupervised machine learning models. You will learn classification, regression, and clustering techniques to work with different types of datasets and train your models. Finally, you will learn about an effective pipeline to help you build a machine learning project from scratch. By the end of this book, you will be confident in building your own machine learning models for accurate predictions.
Table of Contents (10 chapters)

Summary

In this chapter, you learned about how the k-means algorithm works, in order to cluster unlabeled data points into clusters or groups. You then learned how to implement the same using scikit-learn, and we expanded upon the feature engineering aspect of the implementation.

Having learned how to visualize clusters using hierarchical clustering and t-SNE, you then learned how to map a multi-dimensional dataset into a two-dimensional space. Finally, you learned how to convert an unsupervised machine learning problem into a supervised learning one, using decision trees.

In the next (and final) chapter, you will learn how to formally evaluate the performance of all of the machine learning algorithms that you have built so far!