O'Reilly logo

Genetic Algorithms and Machine Learning for Programmers by Frances Buontempo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3Boom! Create a Genetic Algorithm

In the previous chapter, you used saved data points a turtle visited as he escaped a paper bag to build a decision tree. By splitting the data on attributes, specifically x and y coordinates, the tree was able to decide whether new points were inside or outside the original paper bag. This is one way to predict values for new data. There are many other ways to make predictions. So many, in fact, that they could fill several volumes with the different approaches. One is enough to get a feel for this flavor of AI. Let’s try something completely different. Rather than predicting the future or outcomes, can you find combinations or suitable inputs to solve problems?

  • How do you split your investments, maximizing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required