Book Image

Hands-On Automated Machine Learning

By : Sibanjan Das, Umit Mert Cakmak
Book Image

Hands-On Automated Machine Learning

By: Sibanjan Das, Umit Mert Cakmak

Overview of this book

AutoML is designed to automate parts of Machine Learning. Readily available AutoML tools are making data science practitioners’ work easy and are received well in the advanced analytics community. Automated Machine Learning covers the necessary foundation needed to create automated machine learning modules and helps you get up to speed with them in the most practical way possible. In this book, you’ll learn how to automate different tasks in the machine learning pipeline such as data preprocessing, feature selection, model training, model optimization, and much more. In addition to this, it demonstrates how you can use the available automation libraries, such as auto-sklearn and MLBox, and create and extend your own custom AutoML components for Machine Learning. By the end of this book, you will have a clearer understanding of the different aspects of automated Machine Learning, and you’ll be able to incorporate automation tasks using practical datasets. You can leverage your learning from this book to implement Machine Learning in your projects and get a step closer to winning various machine learning competitions.
Table of Contents (10 chapters)

Hyperparameter Optimization

The auto-sklearn library uses Bayesian optimization to tune the hyperparameters of machine learning (ML) pipelines. You will learn the inner workings of Bayesian optimization, but let's first review the basics of mathematical optimization.

In simple terms, optimization deals with selecting the best values to minimize or maximize a given function. A function is called a loss function or a cost function if our objective is minimization. If you are trying to maximize it, then it's called a utility function or a fitness function. For example, when you are building ML models, a loss function helps you to minimize the prediction error during the training phase.

When you look at this whole process from a wider angle, there are many variables that come into play.

First, you may work on a system to decide the type of problem, such as an unsupervised...