Book Image

Automated Machine Learning with AutoKeras

By : Luis Sobrecueva
Book Image

Automated Machine Learning with AutoKeras

By: Luis Sobrecueva

Overview of this book

AutoKeras is an AutoML open-source software library that provides easy access to deep learning models. If you are looking to build deep learning model architectures and perform parameter tuning automatically using AutoKeras, then this book is for you. This book teaches you how to develop and use state-of-the-art AI algorithms in your projects. It begins with a high-level introduction to automated machine learning, explaining all the concepts required to get started with this machine learning approach. You will then learn how to use AutoKeras for image and text classification and regression. As you make progress, you'll discover how to use AutoKeras to perform sentiment analysis on documents. This book will also show you how to implement a custom model for topic classification with AutoKeras. Toward the end, you will explore advanced concepts of AutoKeras such as working with multi-modal data and multi-task, customizing the model with AutoModel, and visualizing experiment results using AutoKeras Extensions. By the end of this machine learning book, you will be able to confidently use AutoKeras to design your own custom machine learning models in your company.
Table of Contents (15 chapters)
1
Section 1: AutoML Fundamentals
5
Section 2: AutoKeras in Practice
11
Section 3: Advanced AutoKeras

Preparing the data to feed deep learning models

In the previous chapter, we explained that AutoKeras is a framework that specializes in deep learning that uses neural networks as a learning engine. We also learned how to create end-to-end classifier/regressor models for the MNIST dataset of handwritten digits as input data. This dataset had already been preprocessed to be used by the model, which means all the images had the same attributes (same size, color, and so on), but this is not always the case.

Once we know what a tensor is, we are ready to learn how to feed our neural networks. Most of the data preprocessing techniques are domain-specific, and we will explain them in the following chapters when we need to use them in specific examples. But first, we will present some fundamentals that are the basis for each specific technique.

Data preprocessing operations for neural network models

In this section, we will look at some of the operations we can use to transform the...