Answered

Initialization of imsegkmeans function

Currently, there is no support for setting explicit values for the centroids. However, you can set the 'NumAttempts' name value...

Initialization of imsegkmeans function

Currently, there is no support for setting explicit values for the centroids. However, you can set the 'NumAttempts' name value...

2 months ago | 0

| accepted

Answered

Not a valid predictor error when trying to predict

I have brought this issue to the notice of the concerned staff, and it might be fixed in any of the upcoming releases.

Not a valid predictor error when trying to predict

I have brought this issue to the notice of the concerned staff, and it might be fixed in any of the upcoming releases.

2 months ago | 0

Answered

How can I restrict the number of features for testing set in SVM classification with linear kernel?

Generally, you can't determine feature importance in SVM, unless a linear kernel is used. Refer following answer for more inform...

How can I restrict the number of features for testing set in SVM classification with linear kernel?

Generally, you can't determine feature importance in SVM, unless a linear kernel is used. Refer following answer for more inform...

2 months ago | 0

Answered

implementing k means algorithm on spike sorting data

Note that the parenthesis is wrong for the second part of the equation. The square is to be taken of the y1 - y2 term, and not j...

implementing k means algorithm on spike sorting data

Note that the parenthesis is wrong for the second part of the equation. The square is to be taken of the y1 - y2 term, and not j...

2 months ago | 0

| accepted

Answered

CUDA_ERROR_ILLEGAL_ADDRESS with "trainNetwork" on NVidia RTX8000

As this error occurs only for large batch size, one possibility is that the driver is outdated and not detecting out of memory e...

CUDA_ERROR_ILLEGAL_ADDRESS with "trainNetwork" on NVidia RTX8000

As this error occurs only for large batch size, one possibility is that the driver is outdated and not detecting out of memory e...

2 months ago | 0

Answered

How to include all variables in each decision tree of an ensemble?

'NumVariablesToSample' defines the number of variables(predictors) which will be considered at any given split. The decision tre...

How to include all variables in each decision tree of an ensemble?

'NumVariablesToSample' defines the number of variables(predictors) which will be considered at any given split. The decision tre...

2 months ago | 0

Answered

Outputting the decision boundary function for one-class SVM with fitcsvm?

You can find the equation for decision boundary explicitly only if linear kernel is used. In other cases, the score function is ...

Outputting the decision boundary function for one-class SVM with fitcsvm?

You can find the equation for decision boundary explicitly only if linear kernel is used. In other cases, the score function is ...

2 months ago | 0

Answered

How to get optimal value that best distinguishes two groups using SVM

For svm with linear kernel, the boundary is given by the hyperplane at which the score function is equal to zero. In case of a s...

How to get optimal value that best distinguishes two groups using SVM

For svm with linear kernel, the boundary is given by the hyperplane at which the score function is equal to zero. In case of a s...

2 months ago | 0

Answered

get prediction of all binary learners for multi-class classification

You can get the underlying compact models using the Trained Property. You can call the predict function on these models. You c...

get prediction of all binary learners for multi-class classification

You can get the underlying compact models using the Trained Property. You can call the predict function on these models. You c...

2 months ago | 0

Answered

Presiction time in Classification Lerner

obs/sec refers to number of observations processed per second. It's inverse would be the time taken for one prediction in second...

Presiction time in Classification Lerner

obs/sec refers to number of observations processed per second. It's inverse would be the time taken for one prediction in second...

2 months ago | 0

Answered

How to print F values for pairwise comparisons using multcompare(stats)?

You can refer to F-statistic and t-statistic documentation for an example on getting the f statistics.

How to print F values for pairwise comparisons using multcompare(stats)?

You can refer to F-statistic and t-statistic documentation for an example on getting the f statistics.

2 months ago | 0

| accepted

Answered

How do I count how many times disp() appears in the command window

parfor understands how to handle addition in parallel. Hence you can simply increment a variable as follows, N=100; count = 0;...

How do I count how many times disp() appears in the command window

parfor understands how to handle addition in parallel. Hence you can simply increment a variable as follows, N=100; count = 0;...

2 months ago | 0

Answered

Finding SVM hyperplane equation for 2nd order polynomial

In SVM, the beta value is used to find score only in case of linear kernel, as either no feature transformation or explicit feat...

Finding SVM hyperplane equation for 2nd order polynomial

In SVM, the beta value is used to find score only in case of linear kernel, as either no feature transformation or explicit feat...

2 months ago | 0

| accepted

Answered

deep network design with 30 csv files.

You can consider the matrices as images, and then resize them to the required size of the networks. However, this will work only...

deep network design with 30 csv files.

You can consider the matrices as images, and then resize them to the required size of the networks. However, this will work only...

2 months ago | 0

| accepted

Answered

fitcensemble settings to speed the process up

You can use the struct('UseParallel',true) name-value pair to improve performance of the hyperparameter optimization. This r...

fitcensemble settings to speed the process up

You can use the struct('UseParallel',true) name-value pair to improve performance of the hyperparameter optimization. This r...

2 months ago | 1

| accepted

Answered

One-Class Classification using Neural Network

As per my understanding, you want to create a one class classifier using neural networks. As neural network classifiers work ba...

One-Class Classification using Neural Network

As per my understanding, you want to create a one class classifier using neural networks. As neural network classifiers work ba...

2 months ago | 0

Answered

Memory not being cleared from iteration to iteration?

As per my understanding, your code is using more memory than expected. This might happen if you are creating many temporary var...

Memory not being cleared from iteration to iteration?

As per my understanding, your code is using more memory than expected. This might happen if you are creating many temporary var...

2 months ago | 0

Answered

knnimpute in training/ testing sets

Currently this functionality is not available in knnimpute. I have brought this request to the notice of concerned developers. I...

knnimpute in training/ testing sets

Currently this functionality is not available in knnimpute. I have brought this request to the notice of concerned developers. I...

4 months ago | 0

Answered

Having trouble with linregr in matlab

You can use fitlm for linear regression. You can check the documentation for examples.

Having trouble with linregr in matlab

You can use fitlm for linear regression. You can check the documentation for examples.

4 months ago | 0

Answered

Best function for fitnlm

As per my understanding, you are having problem with defining the features for the classification problem. One solution is to u...

Best function for fitnlm

As per my understanding, you are having problem with defining the features for the classification problem. One solution is to u...

4 months ago | 0

Answered

How could I create stl file based on the ellipsoid command?

stlwrite only support triangles. You can get the alphaShape of ellipsoid using the alphaShape function. shp = alphaShape(tr.Po...

How could I create stl file based on the ellipsoid command?

stlwrite only support triangles. You can get the alphaShape of ellipsoid using the alphaShape function. shp = alphaShape(tr.Po...

4 months ago | 1

| accepted

Answered

Reuse a NARX neural network after it has been trained

You should use the preprocessed data, and not the raw data for prediction. Repeat the same preprocessing steps that you do for t...

Reuse a NARX neural network after it has been trained

You should use the preprocessed data, and not the raw data for prediction. Repeat the same preprocessing steps that you do for t...

4 months ago | 0

Answered

Implementing Moderation analysis using fitrm when i have a 2 within subjects factors

The idea behind repeated measures is that we measure the response variable over time or under different conditions. If A and B ...

Implementing Moderation analysis using fitrm when i have a 2 within subjects factors

The idea behind repeated measures is that we measure the response variable over time or under different conditions. If A and B ...

4 months ago | 0

Answered

Unexpected error calling cuDNN: CUDNN_STATUS_NOT_SUPPORTED

This is a known issue with cuDNN. Following are some workarounds, 1. Update to newer release of MATLAB. Newer releases might us...

Unexpected error calling cuDNN: CUDNN_STATUS_NOT_SUPPORTED

This is a known issue with cuDNN. Following are some workarounds, 1. Update to newer release of MATLAB. Newer releases might us...

4 months ago | 0

Answered

Measuring similarity between two individual trees in a model created by fitcensemble

Comparing decision trees is not straightforward as they can have different structures, different variables at each node, and dif...

Measuring similarity between two individual trees in a model created by fitcensemble

Comparing decision trees is not straightforward as they can have different structures, different variables at each node, and dif...

4 months ago | 0

Answered

How could I plot a "learning curve" using the "Statistic and Machine Learning toolbox"?

You can save the plots generated during training using "OutputFcn" field as mentioned in this answer.

How could I plot a "learning curve" using the "Statistic and Machine Learning toolbox"?

You can save the plots generated during training using "OutputFcn" field as mentioned in this answer.

4 months ago | 0

Answered

Automatic Differentiation for gamma and psi functions

Currently, dlarray support is not available for gamma and psi. I have brought your request to the notice of concerned people. As...

Automatic Differentiation for gamma and psi functions

Currently, dlarray support is not available for gamma and psi. I have brought your request to the notice of concerned people. As...

4 months ago | 0

| accepted

Answered

How to write code for projected gradient descent?

The min function in MATLAB optionally returns the index of the minimum value. You can calculate the function for all input value...

How to write code for projected gradient descent?

The min function in MATLAB optionally returns the index of the minimum value. You can calculate the function for all input value...

4 months ago | 0

Answered

How it is possible to have groups of data with the same distribution using KS test 2?

As per my understanding, the results are not same for all set of samples for the datasets. As kstest2 uses samples of datasets,...

How it is possible to have groups of data with the same distribution using KS test 2?

As per my understanding, the results are not same for all set of samples for the datasets. As kstest2 uses samples of datasets,...

4 months ago | 0

Answered

Implementation separated autoencoder in an OFDM system by Deep Network Designer

You should be able to write custom layers, and import them into Deep Network Designer. However, currently it is not possible to ...

Implementation separated autoencoder in an OFDM system by Deep Network Designer

You should be able to write custom layers, and import them into Deep Network Designer. However, currently it is not possible to ...

4 months ago | 0