Answered

How to open a mat file in C?

The file is included with MATLAB installation. You might have to add it to the path where your compiler looks for header files.

How to open a mat file in C?

The file is included with MATLAB installation. You might have to add it to the path where your compiler looks for header files.

9 meses ago | 0

Answered

Fit Curve a Graph with Shape like y^2 = x

generally, a function is expected to map only one y value for each x value. As you have two values for each input, you need to r...

Fit Curve a Graph with Shape like y^2 = x

generally, a function is expected to map only one y value for each x value. As you have two values for each input, you need to r...

9 meses ago | 0

Answered

How to develop regression function (Mathmatical form) from trained model using regression learner?

In case of support vector machines(both for classification and regression), the score function/regression function might not be ...

How to develop regression function (Mathmatical form) from trained model using regression learner?

In case of support vector machines(both for classification and regression), the score function/regression function might not be ...

9 meses ago | 0

| accepted

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...

9 meses 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.

9 meses 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...

9 meses 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...

9 meses 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...

9 meses 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...

10 meses 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 ...

10 meses 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...

10 meses 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...

10 meses ago | 1

| accepted

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...

10 meses 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.

10 meses 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;...

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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...

10 meses 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...

11 meses 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.

11 meses 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...

11 meses 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...

11 meses 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...

11 meses 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 ...

11 meses 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...

11 meses 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...

11 meses 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.

11 meses 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...

11 meses ago | 0

| accepted