Does using ANN as the fitness function minimizes all the outputs of ANN ?
1 次查看(过去 30 天)
显示 更早的评论
Ive developed an ANN ,2-14-3, and using it as a Fitness Function with gamultiobj .Will the genetic Algo. minimize all the 3 outputs?
2 个评论
采纳的回答
Greg Heath
2014-6-14
Again,
Outputs are not fitness functions. Fitness functions are nonnegative functions of the matrix output matrix, y, and target matrix, t, that go to zero as the output approaches the target.
Use the help and doc commands on
sse, sae, mse and mae.
Google cross entropy
Hope this helps.
Greg
5 个评论
Greg Heath
2014-6-18
Thank you for the reference. Now I can see why you are so confused.
A fitness function outputs a scalar value, feval.
A so called vectorized fitness function is a function of one or more vectors yielding a scalar output value that is to be optimized (typically, minimized; if it is to be maximized, a common practice is to minimize it's negative).
A NN is designed to output one of N specified O-dimensional target vector variables t1, t2,...tN when the corresponding specified I-dimensional input vector variable, x1,x2,... or xN is presented. In order to do that an algorithm is needed that will find one or more parameter vectors ("weight" vectors, NOT variable vectors) that will minimize a specified objective function of the output, y, and the target, t. The most common is mean-squared-error (AKA MSE).
In general, the term "fitness function" is not NN jargon. However, one way to obtain an approximate answer is to use a genetic algorithm which uses that terminology.
Again, w.r.t. NNs, the fitness function is an objective function that is a nonnegative scalar function of the difference between a matrix of column vector NN outputs and a corresponding matrix of column vector targets.
The GA is used to try to minimize that function by selecting a set of weights that can be represented in vector form.
Therefore, the problem that you have described makes no sense.
Hope this helps.
Greg
更多回答(1 个)
Greg Heath
2014-6-13
No.
The network is designed to minimize the statistical estimate of a fitness function like mean-squared-error. There are no constraints with respect to outputs of single inputs.
Hope this helps.
Thank you for formally accepting my answer
Greg
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!