How to convert objection function into maths?
显示 更早的评论
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.
回答(1 个)
Athul Prakash
2020-1-27
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Model Building and Assessment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!