How to do optimization without any equation required?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi All,
I have some experimental data. I would like to do an optimization to find what are the best parameter to get maximum output result.
For an example, below are the surface plot of the experimental data. My target is to do optimization based on this experimental data.
![Capture.GIF](https://www.mathworks.com/matlabcentral/answers/uploaded_files/260232/Capture.gif)
I tried to do neural network by using nntool (the reason because, I don't have any equation available and from my understanding neural network is based on the pattern). However, I could not find any optimization button in the nntool.
Did anyone faced this kind of problem before? Or have any idea what kind of optimization tool that I can use for my case?
Really appreciate any kind of comment.
Thanks in advance.
Regards,
Nur Arafah
댓글 수: 2
Vladimir Sovkov
2020년 1월 7일
Do you want to just find the maximum value of Z? Or what else do you mean by the optimization?
If this is the case, why not to do it with something like: kMax = find(Z==max(Z)); XMax=X(kMax), YMax=y(kMax); ?
Although, the actual commands depend on the format your your experimental data are kept in...
답변 (1개)
Walter Roberson
2020년 1월 7일
편집: Walter Roberson
2020년 1월 8일
For any given finite set of points given to finite precision, there is mathematically the infinity of real numbers of different equations that fit the set exactly . The probability that any one of those equations is the "right" equation is 1/infinity which is precisely zero.
It is not possible for you to do any optimization for fitting unless you restrict yourself to a limited set of forms of equations to work with. For example you could restrict yourself to multinomials in two variables with individual degree no more than 5, and you would be able to try all of those possible models to see which one was best. Looking at your data, it is unlikely that any of those is the "right" answer, but it would be a finite list of models and by going through each of them you could say which was best out of all of the models you tried.
댓글 수: 5
Walter Roberson
2020년 1월 8일
If you have the Curve Fitting Toolbox, then cftool is useful for exploring potential equations.
참고 항목
카테고리
Help Center 및 File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!