Neural network with two objective functions
4 次查看(过去 30 天)
显示 更早的评论
Hi,
I am considering building a neural network with two similar but different objective functions. I have read about genetic optimization with more than one objective function. Is there similar functionality in Matlab for NNs?
In other words, is there a way to train the NN to reach some kind of "pareto" optimal solution for two objective functions?
In case curious, the idea is that one function is the error in forecast return (the NN's output) of stocks and actual return (would like to minimize). The other function is the return (or inverse of it), of the top say 15-25% ranked stocks based on the NN's output. I need to optimize both functions because (1) what I really care about is the best stocks coming out on top and (2) I want to have a forecast return metric so I can combine this with other analysis I am doing. Obviously more accurate return forecast will beget a more accurate stock ranking, but by using ranking the optimization will focus more on accuracy of the best stocks...I think.
Thanks in advance for any help.
Best, Mike
2 个评论
Greg Heath
2014-8-5
It is not clear how your inputs and targets are being defined.
It is also not clear what the corresponding dimensions will be.
采纳的回答
更多回答(2 个)
Greg Heath
2014-8-7
The only way I have ever designed a successful stock market predictor was to use fractional increases in price (or return?) as the target/output. The function sort will then rank them.
Hope this helps.
Thank you for formally accepting my answer
Greg
Greg Heath
2015-2-19
In general you cannot simultaneously minimize two functions. The two most common alternatives are
1. Minimize a linear combination (e.g., Neural Network regularization)
2. Minimize one subject to the an upperbound constraint of the other.
Personally I prefer to minimize the number of hidden nodes subject to the constraint that the mean-squared-error is less than one-hundredth of the mean target variance.
Hope this helps.
Greg
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!