This chapter describes how genetic algorithms can be used to improve the performance of supervised machine learning models by selecting the best subset of features from the provided input data. This chapter will start with a brief introduction to machine learning and then describe the two main types of supervised machine learning tasks – regression and classification. We will then discuss the potential benefits of feature selection when it comes to the performance of these models. Next, we will demonstrate how genetic algorithms can be utilized to pinpoint the genuine features that are generated by the Friedman-1 Test regression problem. Then, we will use the real-life Zoo dataset to create a classification model and improve its accuracy – again by applying genetic algorithms to isolate the best features for...
-
Book Overview & Buying
-
Table Of Contents
Hands-On Genetic Algorithms with Python
By :
Hands-On Genetic Algorithms with Python
By:
Overview of this book
Genetic algorithms are a family of search, optimization, and learning algorithms inspired by the principles of natural evolution. By imitating the evolutionary process, genetic algorithms can overcome hurdles encountered in traditional search algorithms and provide high-quality solutions for a variety of problems. This book will help you get to grips with a powerful yet simple approach to applying genetic algorithms to a wide range of tasks using Python, covering the latest developments in artificial intelligence.
After introducing you to genetic algorithms and their principles of operation, you'll understand how they differ from traditional algorithms and what types of problems they can solve. You'll then discover how they can be applied to search and optimization problems, such as planning, scheduling, gaming, and analytics. As you advance, you'll also learn how to use genetic algorithms to improve your machine learning and deep learning models, solve reinforcement learning tasks, and perform image reconstruction. Finally, you'll cover several related technologies that can open up new possibilities for future applications.
By the end of this book, you'll have hands-on experience of applying genetic algorithms in artificial intelligence as well as in numerous other domains.
Table of Contents (18 chapters)
Preface
Section 1: The Basics of Genetic Algorithms
An Introduction to Genetic Algorithms
Understanding the Key Components of Genetic Algorithms
Section 2: Solving Problems with Genetic Algorithms
Using the DEAP Framework
Combinatorial Optimization
Constraint Satisfaction
Optimizing Continuous Functions
Section 3: Artificial Intelligence Applications of Genetic Algorithms
Enhancing Machine Learning Models Using Feature Selection
Hyperparameter Tuning of Machine Learning Models
Architecture Optimization of Deep Learning Networks
Reinforcement Learning with Genetic Algorithms
Section 4: Related Technologies
Genetic Image Reconstruction
Other Evolutionary and Bio-Inspired Computation Techniques
Other Books You May Enjoy