Answered
Change class labels of a confusion matrix that has been exported from Classification Learner
In R2023a, one approach is to access the original confusion matrix info, and then create a new confusion chart with different la...

1 year ago | 0

| accepted

Answered
How to use excel datastore to in a classification problem
As listed in the doc at https://www.mathworks.com/help/matlab/ref/matlab.io.datastore.spreadsheetdatastore.html, the purpose of ...

1 year ago | 0

| accepted

Answered
Issue with Feature Selection Algorithms in Matlab Classification Learner Except for MRMR
This appears to be as designed. As seen at https://www.mathworks.com/help/stats/feature-selection-and-feature-transformation.htm...

1 year ago | 0

| accepted

Answered
MATLAB for macOS (Apple Silicon) crashes, fail to set the jenv path
Just FYI, I'm running MATLAB 24a for macos (Apple Silicon) on Sonoma 14.4 on a MacBook Pro M1 Max machine with no issues, so if ...

1 year ago | 0

Answered
Determining Coefficient Weights in a Rational Quadratic GPR model
If you want to know "which features ... contribute the most to the model's predictions", one way to do that is to use model inte...

1 year ago | 0

Answered
Plotting a single curve with two x and y axes
The documentation shows how to do what you want. Follow this example and you should be all set: openExample('graphics/MultipleX...

1 year ago | 0

Answered
why MATLAB online error "requires Statistics and Machine Learning Toolbox."
Looks like a license issue. Here are a few steps suggested by generative AI. If this answer helps you, please remember to acce...

1 year ago | 0

| accepted

Answered
Can i do prediction based on several contributing inputs(Like Five inputs)?
The answer is yes. See the following links to get started: https://www.mathworks.com/help/deeplearning/gs/get-started-with-time...

1 year ago | 0

| accepted

Answered
How do i convert a 3D .tif image to a matrix to be used as testing data for texture classification?
See https://www.mathworks.com/help/images/ref/tiffreadvolume.html If this answer helps you, please remember to accept the answ...

1 year ago | 0

| accepted

Answered
I have Matlab R2020 and i need to use or import the built-in function incrementalRegressionKernel which is updated in R2022
I recommend to upgrade MATLAB on your machine, or use MATLAB online (matlab.mathworks.com) to get access to a MATLAB version tha...

1 year ago | 1

Answered
How can I integrate and test a model trained with MATLAB's Classification Learner App in Simulink?
In R2024a, Classification Learner provides an "Export Model to Simulink" option in the "Export Model" menu. This is very conveni...

1 year ago | 0

| accepted

Answered
New to MatLab - how to see the actual predicted classifications for Classification Learner Testing?
In R2023b or higher, you can find the table view that you are looking for in the "Local Shapley" plot on the "Explain" tab. On t...

1 year ago | 1

| accepted

Answered
How can I train CNN(Matlab Classification Learner) with spectogram of a signal?
As of 23b, the Classification Learner app, which is part of the Statistics and Machine Learning Toolbox (SMLT), is not designed ...

1 year ago | 0

Answered
pearsrnd and pearspdf are not coherent for the Pearson IV distribution?
MathWorks has posted a bug report https://www.mathworks.com/support/bugreports/3219165 This has been fixed in R2024a and in R...

1 year ago | 0

Answered
How to predict values from machine learning model?
The Classification Learner app is not specifically designed for working with time series. To analyze time series, there are seve...

1 year ago | 0

Answered
How to find values of variables when a value is known (after using curve fitter)?
Assume this is a surface fit z = f(x,y) as in Curve Fitter app. If it is given that a0 = 1.6745, then substitute that into your ...

1 year ago | 0

| accepted

Answered
Using fitnlm is causing my coefficients and fit to become unstable, even after a few iterations. How can I create the fit to be more stable?
If you are facing instability in your nonlinear regression using fitnlm, you can try to stabilize the fitting process by setting...

1 year ago | 1

Answered
Related to Classification Learner App
Without seeing more details, there are many possible reasons for the difference between your CLI results and the Classification ...

1 year ago | 1

| accepted

Answered
Closing plot windows crashes Matlab on Mac (M1, Sonoma 14.2.1)
Known issue (among some others with Sonoma). See this thread. It looks like people say they have had success closing figures "m...

1 year ago | 0

Answered
MAPE Calculation | Regression Learner App
Mean Absolute Percentage Error (MAPE) was added to the Regression Learner app in R2024a. As of this writing, you can access R202...

1 year ago | 0

Answered
Specify indices of cvpartition
As of R2023b, users can manually specify the indices in a cvpartition with the syntax c = cvpartition("CustomPartition",testSe...

1 year ago | 0

Answered
cvpartition with specified indices
As of R2023b, users can manually specify the indices in a cvpartition with the syntax c = cvpartition("CustomPartition",testSe...

1 year ago | 0

Answered
cvpartition with specified indices
As of R2023b, users can manually specify the indices in a cvpartition with the syntax c = cvpartition("CustomPartition",testSe...

1 year ago | 0

Answered
loadLearnerForCoder failing to load model
The documentation page https://www.mathworks.com/help/stats/savelearnerforcoder.html, in the section for the Input Arguments htt...

2 years ago | 0

Answered
How to graph the data in Matlab that includes the headers, by importing the data using readtable?
This answer is updated to use the data attached in the comment. % Take the default reading of the table t=readtable("US_PREG_0...

2 years ago | 1

| accepted

Answered
extract predictor and reponse as an array format from ML App.
The Response Plot data can be extracted as an array by using the Regression Learner toolstrip option "Export Plot to Figure", an...

2 years ago | 0

| accepted

Answered
Impulse Response of a Filter
The problem in your code is that the input signal should be a column vector, that is, Nx1. When that is done, there is no need f...

2 years ago | 1

| accepted

Answered
Shapley Value for Feature Selection in Matlab
This can be done in 21a or higher using the shapley function https://www.mathworks.com/help/stats/shapley.html by looping over t...

2 years ago | 0

Answered
Inconsistencies between using cftool and plot
The ordinary way to reproduce the plot is to use the cfit "plot" method. If the curve fit was done in the Curve Fitter app, expo...

2 years ago | 1

Answered
i need databases for hand gesture recognition
This answer focuses on the question header "i need databases for hand gesture recognition", that is, on searching for databases....

2 years ago | 0

Load more