Answered
How to get validation posterior probabilities from CVSVM classifier
I understand that you want to predict posterior probabilities for testing data on the CVSVM model. However, the intention of Cro...

5 years ago | 0

| accepted

Answered
machine learning normalizing data
I understand that you want to consider OCC as categorical data. Use the categorical function to create a categorical array from ...

5 years ago | 0

Answered
Error in port widths or dimensions. Invalid dimension has been specified for input ' SFunction '.
You need to ensure that the various matrices you use are of appropriate shape, so that substraction is possible. For example, if...

5 years ago | 0

Answered
Generated code for word size 16bit / 32bit
If both the hardware support the 16 bit setting, then you should have no issues with running the code. If possible, create two d...

5 years ago | 1

| accepted

Answered
I have a little problem when I try to run my custom library for Arduino on matlab.
You are getting out of memory error. This happens when you allocate more memory than in available on the system. For tips on how...

5 years ago | 0

Answered
How to apply fit-function on variable
You can pass the new data to the fitobject. See the example below, x = sin(1:10)'; x2 = cos(1:10)'; y = (1:10)'; curve = fit...

5 years ago | 1

| accepted

Answered
How to access .csv files in a .tar.gz file?
You can call a function recursively on the folder, and process the files which match your requirement. See https://www.mathworks...

5 years ago | 0

Answered
How to use a trained kNN model from Classification APP NEW DATA.
Once you export the model to workspace, you can predict on new data as follows, y = trainedModel.predictFcn(X); %where X is new...

5 years ago | 0

Answered
Why different feature selection functions give so different results?
Selected features will differ due to both algorithmic differences, as well as nature of data. To give an hypothetical example, i...

5 years ago | 0

| accepted

Answered
Error with new version of readtable (R2020a)
The issue is with file encoding. However, it won't be possible for me to tell what encoding is appropriate as this should be men...

5 years ago | 0

Answered
How to interpret the coefficients of the LDA function fitcdiscr for dimensionality reduction?
When you use fitcdiscr function, it returns the model that best seperates the classes. You can check the documentation for Class...

5 years ago | 0

Answered
Is there a 'DeltaPredictor' (output in linear discriminant analysis) equivalent in other classification algorithms (SVM and KNN)?
Sometimes due to the nature of the underlying model itself, it might not be possible to determine feature importance. For those ...

5 years ago | 0

| accepted

Answered
Cross validation settings for Classification Discriminant models
When you use the crossval function, it creates a partioned model with KFold set to default value of 10. Currently, it's not poss...

5 years ago | 0

Answered
How to generate an ellipse using the insertShape Function?
This feature is not available as of now. You can create an ellipse by approximating the polygon.

5 years ago | 0

Answered
confusion matrix for multinational regression analysis
You can use mnrval to get the probabilities of each class. These probabilities can then be used to get class prediction, and tho...

5 years ago | 0

Answered
Is it possible to simulate a classifiers behaviour?
I understand that you would like to have options for interpreting the results in real time. Currently, it's not possible to vis...

5 years ago | 0

| accepted

Answered
Different answers for the same algorithm
Inside findwidth function, you have modified the variable D, which is a global variable. This creates the issue. Instead, pass...

6 years ago | 0

Answered
mesh refinement similar to MeshLab directly in Matlab?
Currently this feature is not supported in MATLAB. It might be considered in any future release. Following are possible workar...

6 years ago | 0

Answered
How to recover VideoReader object (saved in 32 bit MATLAB into a mat file) in 64 bit MATLAB??
It is not possible to read 32 bit AVI files on 64 bit MATLAB. However, workarounds are mentioned in the following answer https:/...

6 years ago | 0

Answered
How to run two parallel loops which share variables?
Explicit multiprocessing is not supported in MATLAB. Instead, you can combine the for loops into a single for loop so that the o...

6 years ago | 0

| accepted

Answered
Scenario reduction algorithm in matlab
I understand that you are trying to get reduced number of samples from the 1000 samples that you generate. Currently we do not...

6 years ago | 0

Answered
Using KNN to Classify a Single Image Example(error)
I understand that you want to create KNN model with LBP and RGB standard deviation as features. Without the code, it would not...

6 years ago | 0

Answered
Vectorization of a for loop
I understand that you want to vectorize the for loop to improve performance. However vectorization of for loops requires that ...

6 years ago | 0

| accepted

Answered
adding a new lower resolution level to bigimages
I understand that you want to create lower resolutions of the tiff image and add them as levels to the bigimage object. Curren...

6 years ago | 0

Answered
Can't open H.264 video in Matlab 2019b
I was not able to replicate this issue with few sample .mp4 files with h.264 encoding. Without the file which creates the issue,...

6 years ago | 0