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?
Should I add a bias to an artificial neural network that is being trained by a genetic algorithm
766 Views Asked by Conner Ruhl At
2
There are 2 best solutions below
2
Romaine Carter
On
You should use a bias, the bias not only allows you to solve problems that are not linearly separable; but it also allows for training of the pseudo threshold values which are interconnections between the bias neuron and the other neurons. In general, it would more likely help your attempts than hinder them.
Related Questions in ARTIFICIAL-INTELLIGENCE
- Developing a Checkers (Draughts) engine, how to begin?
- STRIPS representation of monkey in the lab
- Difference between weak AI and strong AI?
- Q-learning in game not working as expected
- How do I use a class as a template in C#?
- prolog rules as arguments
- How to evaluate a recurrent connection in an artificial neural network?
- AS3 AI barrier detection and movement
- How to simulate neural network by changing different parameters after training in MATLAB?
- Debugging Neural Network for (Natural Language) Tagging
- How do I create a back propagation neural network that has different kinds of output?
- Google Deep Dream art: how to pick a layer in a neural network and enhance it
- Pylearn2 example for time series or sequence prediction
- A Star Pathfinding
- Using Neural Networks Without Training Them
Related Questions in NEURAL-NETWORK
- How to choose good SURF feature keypoints?
- How to avoid overfitting (Encog3 C#)?
- Run out of VRAM using Theano on Amazon cluster
- Calculating equation from image in Java
- Print output of a Theano network
- Torch Lua: Why is my gradient descent not optimizing the error?
- How can I train a neural (pattern recognition) network multiple times in matlab?
- Using Convolution Neural Net with Lasagne in Python error
- Random number of hidden units improves accuracy/F-score on test set
- Matlab example code for deep belief network for classification
- Pybrain Reinforcement Learning Example
- How to speed up caffe classifer in python
- Opencv mlp Same Data Different Results
- Word2Vec Data Setup
- How can I construct a Neural Network in Matlab with matrix of features extracted from images?
Related Questions in GENETIC-ALGORITHM
- Multiple differing views of the same list
- Why is there only one hidden layer in a neural network?
- Project Euler 461 - Genetic Algorithm
- Sorting based on two variables in python
- Why more than one chromosome per solution (or genotype)?
- Genetic algorithm selection and crossover questions
- How to plot XY graph in Genetic Algorithm in Java
- Matlab optimtool: setting different bounds to different integer variable indices
- Two way constraint distribution optimization in R
- Is there a standard method to replacing the DEAD in a Genetic Algorithm?
- Python Genetic Algorithm - Why Isn't This Working?
- Genetic learn fuzzy systems
- Need program to automatically find number X using basic mathematical operations and 6 random numbers
- Genetic Algorithm Approximating Images with Polygons - Fitness Calculating
- Genetic Algorithm - Order of variables in a chromosome
Related Questions in ARTIFICIAL-LIFE
- Neural networks with tensorflow in python without training
- Wa-Tor like cellular automata. In which order should the cells be updated?
- Should I add a bias to an artificial neural network that is being trained by a genetic algorithm
- Neural Network "Breeding"
- Biologically inspired software
- Akka message passing timing
- Ant colony simulation - optimizing the path
- 3D boids escape bounding box
- How to prevent a javascript stack overflow?
- depth-first algorithm in python does not work
- Artificial life with neural networks
- applying a function on an object in python
- Unable to send an action to another Jason agent
- Criteria of software program being intelligent
- Operant conditioning algorithm?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The bias is used to shift the desicion boundary of the neural network away from the origin. For a simple perceptron doing simple linear classification this is equal to moving the line separating the two classes. (think of c in simple linear regression.
Genetic algorithms is just one of many ways to search for the optimal weights. It doesn't care if you have a bias or not since the bias is only another weight to it!
Therefore use a bias, it can speed up training and allows the network to learn patterns it may not be able to learn otherwise!
Edit to answer your specific question: no it isn't necessary to use a bias per se, the network can work without it, but since it's so easy to implement and improves your network- use it!