Community Profile

photo

Drew

Last seen: Today Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 1
  • 12 Month Streak
  • Knowledgeable Level 4
  • First Answer

View badges

Feeds

View by

Answered
Loading and splitting data (double + string) into train and test data
You can leave your data in the table, and use cvpartition or randsample to split your data. If you are aiming to do Classificati...

7 days ago | 0

| accepted

Answered
manually subsetting data for training and testing purposes
In R2023b, a "custom" partition functionality has been added to cvpartition. This functionality can be used to create a cvpartit...

7 days ago | 0

Answered
Can i form a variable of my confusion matrix from my Matlab classification learner into my matlab workspace on MATLAB 2023a that can be used for further data analysis?
This answer shows how to get the confusion matrix as a variable in the MATLAB workspace in 23a, and how to regenerate the confus...

7 days ago | 0

Answered
When using a trained classifier for object detection in images using a Bag-of-Features approach, an error occurs stating "Unable to use a value of type cell as an index"
You have not really provided all the details, but it looks like perhaps there is some mismatch between the format of the feature...

7 days ago | 0

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

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

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

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

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

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

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

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

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

30 days 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 month 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 month 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 month ago | 0

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

2 months ago | 0

Answered
pearsrnd and pearspdf are not coherent for the Pearson IV distribution?
MathWorks has posted a bug report which includes a workaround for affected versions of 23b. See https://www.mathworks.com/suppor...

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

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

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

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

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

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

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

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

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

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

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

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

3 months ago | 0

| accepted

Load more