https://github.com/metric-space/example-genetic-programming-haskell
https://github.com/metric-space/example-genetic-programming-haskell
genetic-programming haskell snippet
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/metric-space/example-genetic-programming-haskell
- Owner: metric-space
- License: bsd-3-clause
- Created: 2017-01-12T07:11:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T05:34:20.000Z (almost 8 years ago)
- Last Synced: 2025-05-17T13:08:53.910Z (about 1 year ago)
- Topics: genetic-programming, haskell, snippet
- Language: Haskell
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# example-haskell-ga
Haskell rework of genetic-algorithm contained in Chaper 11 `Evolving Intelligence` in the book
[Programming Collective Intelligence: Building Smart Web 2.0 Applications by Toby Segaran](https://www.amazon.com/Programming-Collective-Intelligence-Building-Applications/dp/0596529325)
Do buy the book, it is a wonderful book.
## Differences from the book version
1. Written in Haskell
2. No logic or comparisons are included, evolved solutions have arithmetic operations as part of their encoded solutions
## Future Improvements
1. Refactor Evolve.hs
2. Speedup implmentation by using vectors instead of lists and optimizing things in general