4
votes
Accepted
How do I design a fitness function that weighs the importance of eating food?
A human analogy can help you here (a variance).
Initialize all the agents with an initial value $x$; we will call this energyUnits. I Will talk later more about ...
2
votes
Why does the fitness of my neural network to play tic-tac-toe keep oscillating?
What I notice is that the network's fitness keeps climbing up and falling down again. It seems that my current approach only evolves certain patterns on placing signs on the board and once random ...
2
votes
Accepted
How to design a fitness function for the 8-queens problem?
Here you can find an example of how to apply genetic algorithms to solve the 8-queens problem.
The proposed fitness function is based on the chessboard arrangement, and in particular, it is inversely ...
1
vote
How to create a good fitness function?
No magical formula
As already stated in this answer, the definition of the fitness function depends on the problem, given that it essentially determines the solutions that you are looking for, and it ...
1
vote
How to create a good fitness function?
In my experience, the fitness function is a way to define the goal of a genetic algorithm. It provides a way to compare how "good" two solutions are, for example, for mate selection and for deleting "...
1
vote
Why does the fitness of my neural network to play tic-tac-toe keep oscillating?
The characteristics of the game are these.
Moves are in two dimensions
Only three possible first moves because of symmetry (corner, edge, middle)
Never more than seven possible moves after that
No ...
1
vote
How to improve the performance of my model trained with NEAT for a drone to learn how to fly?
Seem like time is a good fitness, though you need it to engage into learning side sensor inputs and side movement.
I would consider adding a bit of randomness to the environment. How about adding ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fitness-functions × 6fitness-design × 6
genetic-algorithms × 3
evolutionary-algorithms × 3
neat × 2
neural-networks × 1
training × 1
neuroevolution × 1
homework × 1
evolutionary-computation × 1
8-queens-problem × 1
feedforward-neural-networks × 1