Over to You
You covered a lot in this chapter. In later chapters, you will see other swarm intelligence algorithms, which will reinforce some of the ideas here. You also used a clustering algorithm. You discovered finding a suitable metric can be difficult, and the more parameters you have, the more choices you need to make—sometimes this leads to over-fitting or a model that is no use to anyone else.
Enjoy your moving particles and have fun playing around with the parameters. If you try different fitness functions, you can make the swarm swoop around in a variety of different ways. You can go down, left, or right instead. If you get inventive, you can make it circle or spiral. You can even extend the algorithms to three dimensions or more. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access