# Don Mathis

### MathWorks

**Statistics**

RANK**231**

of 247,458

REPUTATION**328**

CONTRIBUTIONS

**0** Questions

**118** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**44**

RANK

of 17,241

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Confused at best estimated feasible point from bayesopt?

Hi Daniel, Thank you for reporting this. This turned out to be a bug in how bayesopt calculates upper confidence intervals when...

3 months ago | 0

| accepted

'naivebayes' learner option fails when optimizing hyper-parameters for 'fitcecoc' function.

It's true that Naive Bayes is not supported for optimization via fitcecoc. But since Naive Bayes is already a multiclass classif...

4 months ago | 1

| accepted

How to do grid Search to optimize sigma using Matlab?

Nowadays you can just do this: load fisheriris bestModel = fitcecoc(meas, species, 'OptimizeHyperparameters','auto')

8 months ago | 0

Hyperparamter optimization - how to manually specify SVM kernel functions to try using optimizableVariable

You need to write 'KernelFunction', string(x.kernel), ...

1 year ago | 0

| accepted

Hyperparameter optimization using bayesopt - what does 'Transform' value of 'log' do in optimizableVariable?

The Bayesian Optimization algorithm will model that variable on a log scale. The Gaussian Process model will fit a kernel scale ...

1 year ago | 0

| accepted

Working with LSTM and Bayes Optimization

You might find this similar example useful: https://www.mathworks.com/matlabcentral/answers/457788-lstm-time-series-hyperparam...

2 years ago | 0

SVM optimizer fails with large matrix

My guess is that it is trying to fit an SVm using the first set of hyperparameters it tried, and it's taking a long time. Try pu...

2 years ago | 0

Parallel bayesopt: what is the relationship between the number of iterations and number of workers?

For parallel bayesopt, the first column shown is actually the function evaluation number. It's not exactly right to call it an i...

2 years ago | 0

| accepted

How to re-train a model optimized by Bayesian optimization on new data?

Your current approach (explicitly passing the values that the optimization found) is the right way to do it. There is a faster/...

2 years ago | 3

| accepted

Hyperparameter Optimization in ECOC classifier: which loss function is used?

In this Doc section https://www.mathworks.com/help/stats/fitcecoc.html?searchHighlight=fitcecoc&s_tid=doc_srchtitle#d117e320264,...

2 years ago | 0

| accepted

Understanding and applying results of bayesopt

You already have access to some of those options (e.g., AcquisitionFunctionName) through fitrensemble, via the 'HyperparameterOp...

2 years ago | 1

Understanding and applying results of bayesopt

It looks like no new minima are being found, and that the model of the objective function is stabilizing, but it's not a good mo...

2 years ago | 1

| accepted

why exportONNXNetwork will add additional "Sub" in onnx, how to remove this layer in onnx?

The Sub operator is subtracting the mean image from the raw image input.

2 years ago | 0

Getting Error, "kernel function is not a valid parameter name".

Type help fitcsvm and I think you will see that the argument is spelled 'KernelFunction' not 'kernel_function' .

2 years ago | 1

| accepted

Duplicate points evaluated in Bayesian Optimization

It's true that re-evaluating a point when the function is deterministic adds no information. The duplication occurs because of a...

2 years ago | 0

| accepted

How does bayesian optimization and cross-validation work?

In each iteration of the optimization, fitrsvm is called with 5-fold crossvalidation, using a particular vector of hyperparamete...

2 years ago | 1

| accepted

How to check SVM model?

If you want your classifier to perform well on data with Gaussian noise added, I suggest training it on your original data with ...

2 years ago | 2

| accepted

Help solving error "Undefined function or variable 'objFcn'. with Bayesian Optimization Transfer Learning. How do I fix?

It looks like you named your variable ObjFcn but then passed it as objFcn. ObjFcn = makeObjFcn(imdsTrain,imdsValidation); Baye...

2 years ago | 0

| accepted

How to using bayesopt function for a GP model

It looks like you're basing your code on this example, which is a good starting point: https://www.mathworks.com/help/stats/baye...

2 years ago | 1

| accepted

The onnx model exported by exportONNXNetwork() is not the same as the result of running in opencv and Matlab?

Could it be that you're multiplying the test image by 1.0/255 before passing it to your imported network? Notice in the MATLAB e...

2 years ago | 0

Error when loading in Python an .onnx neural net exported via Matlab

I could not reproduce your error. The following works for me: In MATLAB: >> net = googlenet; >> filename = 'googleNet.onnx'; ...

2 years ago | 3

fitcecoc svm classifier error

You need to pass fitcecoc a templateSVM object to set an SVM hyperparameter, Mdl = fitcecoc(X_norm, Y, 'Learners', templateSVM(...

2 years ago | 0

objective function in Bayesian Optimization Algorithm like fitrsvm and fitrgp

This page says that the loss defaults to MSE. So that's the loss that's used in the log(1+cvloss) formula. Cross validated loss ...

2 years ago | 0

| accepted

LSTM time series hyperparameter optimization using bayesian optimization

Here's an example using a convolutional network instead of an LSTM network. Your LSTM case should look very similar: https://www...

2 years ago | 0

Fail to export net to ONNX

I don't think you'll be able to export 3d image networks until the support package supports it (expected later this year). If yo...

2 years ago | 0

| accepted

Fail to export net to ONNX

Unfortunately, exporting 3D layers to ONNX is not yet supported.

2 years ago | 0

How does bayesopt() optimise using categorical optimizable variables?

The bayesopt function uses a special technique to handle categorical variables. One-hot coding is not used. Instead, bayesopt en...

2 years ago | 0

| accepted

RBF kernel in bayesopt

This other Answer shows how to edit the code to change the GP kernel function. Does this help? https://www.mathworks.com/matlab...

2 years ago | 0

How to extract hyper parameters during Bayesian optimization

There are many hidden properties in the BayesianOptimization object that is returned by bayesopt. One of them is ObjectiveFcnGP,...

3 years ago | 0

| accepted

My convolutional network doesn`t learn properly. Can someone explain why and give me some advice?

This question is over a year old but I'll post an answer anyway: It's a classic case of overfitting. Search for 'overfitting' ...

3 years ago | 0