How can I perform optimisation on a trained machine learning regression model in Matlab?
Show older comments
Hello,
I have trained a Gaussian process regression model in Matlab. It is of the “struct” form trainedModel.predictFcn(x) where x is my input vector.
How can I use the function in this form for optimisation?
I essentially want to solve and find all values of the vector x for which the function equals some scalar value Y.
Thanks!
3 Comments
Asvin Kumar
on 20 May 2020
a. Optimization on or Optimization using? What are you trying to optimize?
b. Where do you intend to use this trained model?
c. You mentioned, finding all values of x for which rainedModel.predictFcn(x) == y. What's your search space?
These details could help anyone answer this question better.
Hamid Attar
on 20 May 2020
Asvin Kumar
on 26 May 2020
I'm going to let someone else from the community take this. This is a bit out of my field.
Answers (0)
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!