photo

Drew

Last seen: 4 days ago Active since 2022

Followers: 0   Following: 0

Statistics

  • 24 Month Streak
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer

View badges

Feeds

View by

Answered
is it possible to mark significance levels using heatmap?
Text cannot be a child of HeatmapChart, so as an alternative, could use imagesc. If this answer helps you, please remember to a...

22 days ago | 0

| accepted

Answered
Specify Indices for Training, Validation and Testing
Custom partitions were introduced to cvpartition in R2023b. See https://www.mathworks.com/help/stats/cvpartition.html, and in pa...

2 months ago | 1

Answered
loss, the classification error
As indicated at https://www.mathworks.com/help/stats/classreg.learning.classif.compactclassificationensemble.loss.html#bst1mt4-4...

2 months ago | 0

Answered
Is there a way to create a custom cvpartition?
Custom partitions were introduced in R2023b. See https://www.mathworks.com/help/stats/cvpartition.html, and in particular the ne...

2 months ago | 0

Answered
Looking for help with labelling groups
Here is a solution: % Your group classification vector % This is a 7x1 double for an example. % Yours would be 178x1 double ...

2 months ago | 0

| accepted

Answered
Create a generic x for (x,y) plot
MATLAB makes it convenient to use date and/or time data on the x, y, and z axis of your plots. See https://www.mathworks.com/hel...

2 months ago | 0

Answered
silly error in trainnet network design
The error message indicates that there is just one (1) observation, but 1071 targets. Check the data type and size of the inputs...

2 months ago | 1

| accepted

Answered
cvpartition with different selection of input features per fold
The Classification Learner app will generate code that does exactly that. Here is an example using two classes from the Fisher ...

3 months ago | 0

Answered
How to compute the Shapley value of BP neural network
The answer at https://www.mathworks.com/matlabcentral/answers/2127046-shapley-values-for-newff-model explains how to calculate S...

3 months ago | 0

Answered
online tools for classification learner
This was fixed in R2024a-update3 which was released to all customers May 17, 2024. For more detail see: https://www.mathworks.co...

4 months ago | 0

Answered
How to resolve warning message about broadcast variable while using 'parfor'?
See https://www.mathworks.com/help/parallel-computing/broadcast-variable.html It includes an example with numel(). If this ans...

4 months ago | 0

Answered
MATLAB recommended me to download the latest pre-released version is there any difference between that and the normal versions
The R2024b pre-release provides access to many new features. If MathWorks support recommended for you to download the latest pre...

5 months ago | 1

| accepted

Answered
Cleveland heart disease dataset - how to improve test accurarcy?
Main ideas: The main ideas for the answer are: (1) Collapse the target classes to just two classes, namely, presence or absenc...

5 months ago | 0

Answered
SD from k-fold validation classification learner
The Classification Learner app does not currently provide access to the per-fold validation results, so the best way to get the ...

5 months ago | 0

Answered
Shapley values for newff model
Answer to the initial question: The short answer is that you can obtain the Shapley values of a model created by newff by using...

5 months ago | 0

| accepted

Answered
The mathematical details of using regression kernel for incremental learning
The documentation page that you quoted has an "Algorithms" section, and a set of references. You will likely find the answers yo...

6 months ago | 0

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

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

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

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

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

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

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

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

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

8 months ago | 1

Load more