Using Function from Regression Learner into Optimization Toolbox

1 次查看(过去 30 天)
Hello all,
Through the Regression Learner App, I have set a prediction function which is taking several parameters as predictors and outputting a numerical value. We will distinguish two sets of predictors used in this function: i1 (one predictor) and i2 (all the other predictors).
Our function looks like then : f(i1,i2)=Output.
What I know want to do is to minimize the following through Optimization toolbox: [f(i1,i2)-Target] where Target is a given constant. Minimization of this cost function should be done only by finding the optimal input value i1 which is giving the lowest value of f(i1,i2).
I do not know how to tell the Optimization toolbox to only play on input i1 of the f function to minimize [f(i1,i2)-Target]
Thanks in advance for your help! Marc.

回答(1 个)

Chaitral Date
Chaitral Date 2017-5-9
Can you tell me how does your function look like? It is hard to tell without looking at the function.
Nevertheless, I do not find any of the functions in optimization toolbox which will only consider i1 from the f function to minimize [f(i1,i2)-Target]. You can use function "fminsearch" or "fminunc" to find min of [f(i1,i2)-Target] and can ignore i2 from the output.

类别

Help CenterFile Exchange 中查找有关 Support Vector Machine Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by