New answers tagged

1

What you are trying to achieve, is a game that learns to play flappy bird. For doing this you need a neural network AND a genetic algorithm, those two things work together. About your concerns on the output, you don't have to know if the action will benefit or not, i will soon explain why. The neural network part So, what you need is to know how to build a ...


0

As I can see, at each frame, you're giving 1 fitness if the snake gets closer to the food, and you remove 10 fitness if it gets away from the food. Am I right? Also, you're removing 50 fitness when a snake dies, and giving 15 fitness when it eats a food? Try to remove the -10 fitness at each frame where the snake gets away from food, it's not necessary. Not ...


1

As you can find here: Evolutionary algorithms form a subset of evolutionary computation in that they generally only involve techniques implementing mechanisms inspired by biological evolution such as reproduction, mutation, recombination, natural selection, and survival of the fittest. It means, other types of evolutions, which are not necessarily a ...


Top 50 recent answers are included