How to choose "Nlocmin,Nlocmax" in non linear regression and curve fitting?
4 次查看(过去 30 天)
显示 更早的评论
How can one choose "Nlocmin and Nlocmax" values for non linear regression using ANN feedforwardnet in the code mentioned by Greg sir??
Link to the thread
2. Estimate, by trial and error, the minimum number of hidden nodes necessary for successfully approximating the underlying input-output transformation. For a smooth function with Nlocmin local minima and Nlocmax local maxima, a reasonable lower
bound is H >= 2*max(Nlocmin,Nlocmax). Sometimes it is prudent to count endpoint extrema as 1/2 a local extremum. The addition of real-world noise, interference and measurement error should not change that minimum number. However, the contamination may make it difficult to identify the significant error-free extrema.
Thanks
Kishore
0 个评论
采纳的回答
Greg Heath
2015-3-28
编辑:Greg Heath
2015-3-28
Plot the target and count the number of local extrema.
This will only work for relatively smooth functions.
Otherwise use the search over
Hmin:dH:Hmax < Hub
with a preference for Hmax << Hub
For details, search NEWSGROUP and ANSWERS using
greg Hub
Hope this helps
Thank you for formally accepting my answer
Greg
2 个评论
Greg Heath
2015-4-4
1. Initialize the random number state before the loops and choose the 38th after that
2. Store the random number state before each design
3. Store the random number state and corresponding net if the new MSE is smaller than the previous minimum.
更多回答(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!