Bayseian optimization not working properly in matlab 2018b

3 vues (au cours des 30 derniers jours)
Aamir Shabbir hussain
Aamir Shabbir hussain le 11 Nov 2018
Commenté : feeler zhen le 11 Août 2020
Hi everyone......i am using matlab 2018b and im trying to use this function makeObjFcn for creating a an objective function from my data store but for some reason it always says that it is undefined function or variable.
Undefined function or variable 'makeObjFcn'.
Although i have statistical and machine learning toolbox and also deep learning toolbox but still it does not work i also checked it in my pc that there is no file will this name also.
  1 commentaire
feeler zhen
feeler zhen le 11 Août 2020
Hi, I also met this problem, have you solved it?

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 11 Nov 2018
https://www.mathworks.com/help/deeplearning/examples/deep-learning-using-bayesian-optimization.html has the code. It is probably in the example source as well.
  2 commentaires
Aamir Shabbir hussain
Aamir Shabbir hussain le 11 Nov 2018
No it does not have the definition for the makeObjFcn.
Johannes Bergstrom
Johannes Bergstrom le 12 Nov 2018
The function makeObjFcn is defined in the example: https://www.mathworks.com/help/deeplearning/examples/deep-learning-using-bayesian-optimization.html
To open the example in MATLAB, use openExample('nnet/OptimizeDeepNeuralNetworksUsingBayesianOptimizationExample')

Connectez-vous pour commenter.


Helen Victoria
Helen Victoria le 18 Déc 2018
yes it doesnt have the definition
  3 commentaires
Walter Roberson
Walter Roberson le 18 Déc 2018
The function definition is at line 54 of
examples/nnet/main/OptimizeDeepNeuralNetworksUsingBayesianOptimizationExample.mlx
in R2018a and R2018b
It is at line 175 of
examples/nnet/main/OptimizeDeepNeuralNetworksUsingBayesianOptimizationExample.m
in R2017b.
The example does not exist in previous releases.
Helen Victoria
Helen Victoria le 18 Déc 2018
thank you:)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Agriculture dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by