tomLamprecht / Easy-ML-For-Java

A Java Framework to implement Machine Learning using Neural Networks and a Genetic Algorithm
MIT License
36 stars 5 forks source link

Use Covariance Matrix Adaptation Evoluationary Strategy #1

Open LukeWood opened 1 year ago

LukeWood commented 1 year ago

This would fill in the role of the mutator:

https://github.com/tomLamprecht/Easy-ML-For-Java/blob/master/src/main/java/de/fhws/ai/networktrainer/NNRandomMutator.java

Reference: https://en.wikipedia.org/wiki/CMA-ES

This is way more efficient than random mutation

tomLamprecht commented 1 year ago

Very good Idea. The new implementation could also inherent from the Interface Mutator so we dont have to change the basic structure of the Genetic Algorithm. Even though we should think about renaming this Interface then to something more fitting