Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AI and Deep Learning by (50.2k points)

I have an ANN that controls an artificial herbivore. The inputs are the closest plant's magnitude and direction, the closest mate's magnitude and direction, and the herbivore's health. The outputs are a movement vector (direction and magnitude). Is it necessary to use a bias if it is being trained by a genetic algorithm?

1 Answer

0 votes
by (108k points)

You have to use bias as it can speed up training and allows the network to learn patterns otherwise, it may not be able to learn. The bias is used to shift the decision boundary of the neural network away from the origin. As per your question, no it is not necessary to use a bias. The network can work without it, but since it's so easy to implement and improves your network, so I will recommend to use it!

...