wagenaartje / neataptic

:rocket: Blazing fast neuro-evolution & backpropagation for the browser and Node.js
https://wagenaartje.github.io/neataptic/
Other
1.19k stars 279 forks source link

Any example to train soccer for LSTM ? #93

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello All,

is there any example how to train an LSTM to play soccer and most important that the target is to make goals instead to just kick the ball around ? I just cant figure out a useful training set and how to do it ..

Thanks a bunch !

goldsziggy commented 6 years ago

Not sure I understand the problem? Is there a specific type of data-set you are looking at? Is this a game simulation you are creating?

ghost commented 6 years ago

I just think about how we can train specific rules like "shoot ball" and specific targets like "try to make goals" as these are unsharp targets.

wagenaartje commented 6 years ago

You cannot use a training set for this, because like you say they are "unsharp targets". You need to set up an according environment for players to play football in. Then, you have to create a fitness function that assigns genomes more score if they manage to score goals.

If you want to see an example of how you should set up something like that up, check this out. It is definitely possible to set up what you want with Neataptic.