Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Genetic Algorithm and its practicality in Machine Learning

What is GA and how to use it to train Machine Learning models?

6 min readDec 26, 2022

--

Press enter or click to view image in full size
Photo by Sangharsh Lohakare on Unsplash

Introduction

Genetic Algorithm (GA) is a type of natural computing algorithm, which are algorithms developed to try to solve problems by replicating phenomena and behaviors present in nature.

There are several natural algorithms in the literature, such as Particle Swarm Optimization (PSO), which tries to mathematically simulate the social behavior of schools of fish or flocks of birds, and Ant Colony Optimization (ACO), which seeks to find the best paths in a graph simulating the behavior of ants when moving.

These types of algorithms are used to solve optimization problems, where you want to find optimal values ​​(maximum or minimum depending on the problem analyzed) within a search space. One of the most studied optimization problems is the so-called traveling salesman problem.

Among all Natural Computing algorithms, one of the most famous is the Genetic Algorithm.

Overview

Press enter or click to view image in full size
Photo by Pankaj Patel on Unsplash

--

--

Alexandre Rosseto Lemos
Alexandre Rosseto Lemos

Written by Alexandre Rosseto Lemos

Data Scientist @ Trustly | I write about things I learned that helped me in my journey through Data Science

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.