Neural network with two objective functions
7 views (last 30 days)
Show older comments
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 Comments
Greg Heath
on 5 Aug 2014
It is not clear how your inputs and targets are being defined.
It is also not clear what the corresponding dimensions will be.
Accepted Answer
More Answers (2)
Greg Heath
on 7 Aug 2014
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
on 19 Feb 2015
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 Comments
See Also
Categories
Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!