Hi everyone,
I just released my first project that I made in order to try Nx.
It is a genetic algorithm written in Elixir with fairly simple rules:
- Each chromosome is composed of 26 genes (represented by letters from
A
toZ
) - Chromosomes are randomly generated for the first generation
- The goal is to obtain a perfect chromosome with evolutions (the 26 letters of the alphabet in order)
I created this project mainly to learn more about how Nx works.
I learned a lot just with this little project and I decided to share it with the community because maybe you can also learn something.
Any PR/feedback/contribution to improve this code is welcome.
Thanks