How to convert objection function into maths?
1 次查看(过去 30 天)
显示 更早的评论
I have used Bayesian optimization to optimize the machine learning parameters. The objection fuction is written in MATLAB as:
minfn = @(T)kfoldLoss(XTrain', YTrain', cv, T.hiddenLayerSize,T.LearningRate);
Now i want to convert this objective function into mathematical form.
Any help in this regard would be highly appreciated.
0 个评论
回答(1 个)
Athul Prakash
2020-1-27
You may run the optimization by calling 'bayesopt' function on 'minfn'. See the doc linked below for more details, the examples might be particularly useful to you.
If you wish to get it in mathematical form, kindly explain exactly what it is you're looking for: do you want to obtain an equation for the optimization problem?.. an equation of the Objective function? Kindly provide some details.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!