This chapter covers
- Understanding an AutoML pipeline
- Customizing sequential and graph-structured AutoML pipelines
- Automated hyperparameter tuning and model selection with customized AutoML pipelines
- Customizing the AutoML blocks in the AutoML pipeline
In chapter 4, we solved a variety of problems with AutoKeras without customizing the search space. In practice, you may want to use a specific ML algorithm or data preprocessing method to solve a problem, such as an MLP for a regression task. Designing and tuning a particular ML component requires tailoring the search space, tuning only the relevant hyperparameters while fixing some others.
This chapter introduces how to customize the search space based on your requirements and automatically discover certain kinds of deep learning solutions for different types of tasks. Constraining the search space can also reduce the search time, allowing you to achieve better results with fewer trials. You will learn how to customize the search space by creating both sequential and graph-structured AutoML pipelines. I’ll show you how to implement an AutoML pipeline with the AutoKeras functional API, and how to use the built-in blocks in AutoKeras to conduct automated hyperparameter tuning and model selection for different tasks. You’ll also learn how to customize your own building blocks when the pre-existing blocks does not satisfy your need.