paint-brush
Genetic Algorithms Explained : A Python Implementationby@luizguilhermefr
35,521 reads
35,521 reads

Genetic Algorithms Explained : A Python Implementation

by Luiz Rosa7mFebruary 14th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Genetic Algorithms Explained : A Python Implementation : a Python Implementation. The problem we will try to solve here is to find the maximum of a 3D function similar to a hat. It is based on three concepts: selection, reproduction, and mutation. We generate a random set of individuals, select the best ones, cross them over and mutate the result. We will iterate over several generations improving it until we find an acceptable solution. To select individuals to reproduce, we use a widely adopted method called roulette wheel.

People Mentioned

Mention Thumbnail
featured image - Genetic Algorithms Explained : A Python Implementation
Luiz Rosa HackerNoon profile picture
Luiz Rosa

Luiz Rosa

@luizguilhermefr

Computer Scientist, Software Engineer @ Loadsmart, Machine Learning enthusiast

Learn More
LEARN MORE ABOUT @LUIZGUILHERMEFR'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Luiz Rosa HackerNoon profile picture
Luiz Rosa@luizguilhermefr
Computer Scientist, Software Engineer @ Loadsmart, Machine Learning enthusiast

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite