Answered
How to generate code of Machine Learning functions for real-time application?
See https://www.mathworks.com/help/stats/code-generation.html Native Simulink blocks for model prediction have been develope...

1 year ago | 0

Answered
Find original data point from classification learner scatter plot
In the R2023b release of Classification Learner, the row of the dataset can be determined from one of the "Select Query Point" s...

1 year ago | 0

| accepted

Answered
How to draw an SVM regression plot
The doc page https://www.mathworks.com/help/stats/support-vector-machines-for-binary-classification.html has several examples ...

1 year ago | 0

| accepted

Answered
MFCC code
https://www.mathworks.com/help/audio/ref/mfcc.html introduced in 2018a

1 year ago | 0

Answered
Related to MFCCs - Getting better results by choosing wrong sampling rate.
What is the task? What type of classification is being done? Are you performing training and testing of your model, or just test...

1 year ago | 0

Answered
Error using classreg.learning.Linear.prepareDataCR X and Y do not have the same number of observations.
The error message "X and Y do not have the same number of observations" indicates that, on line 39, which is mdl = fitrlinear(...

1 year ago | 0

Answered
ROC curve for Multicalss classification??
See https://www.mathworks.com/help/stats/performance-curves.html and https://www.mathworks.com/help/stats/rocmetrics.html Some...

1 year ago | 0

Answered
Precision-Recall curve for Multiclass classification
Given a multiclass classification problem, you can create a Precision-Recall curve for each class by considering the one-vs-all ...

1 year ago | 0

Answered
How to apply Explainable AI on user defined classification models (without using inbuilt classifiers)?
You can use the MATLAB explainable AI functions shapley, lime, and partialDependence while specifying the model using a function...

1 year ago | 0

Answered
hyperparameter tuning with fitclinear
The short answer is yes. That is, the code you shared is doing "nested cross-validation" because the hyperparameter optimization...

1 year ago | 0

Answered
hello all, i am a begginer in matlab , pls help me to do multilabel classification or multiclass svm ?
For binary SVM classification, use fitcsvm https://www.mathworks.com/help/stats/fitcsvm.html . If you have more than 2 classes,...

1 year ago | 0

Answered
LibSVM High-Dimension Training Matrix
You indicate that you have a 7-class multiclass classification problem, and you want to use SVM classifiers, so use https://www....

1 year ago | 0

Answered
Does Matlab provide online linear fitting?
There are many ways to perform linear fitting in MATLAB. This page lists some of the methods: https://www.mathworks.com/help/mat...

1 year ago | 0

Answered
bayes classifier
See the description and examples at these MATLAB doc pages: https://www.mathworks.com/help/stats/fitcnb.html, "Train multiclass...

1 year ago | 0

Answered
Can we consider regression tree (fine/ medium/coarse) present in regression learner app as classification and regression tree (CART)?
The short answer is yes. Quoting from https://www.mathworks.com/help/stats/choose-regression-model-options.html, "The Regressi...

1 year ago | 0

| accepted

Answered
I need MATLAB code to export FDR, PPV numbers.
See number (2) at the answer at https://www.mathworks.com/matlabcentral/answers/321904-how-to-export-performance-measures-from-t...

1 year ago | 0

Answered
How to export performance measures from the Classificaiton Learner App?
(1) Starting in 2022b, you can export results from Classification Learner using the Results Table. This will provide accuracy, m...

1 year ago | 0

Answered
How can I increase classifier accuracy?
Voice disorder classification is an active area of research. There are many papers on the topic. The paper "Voice disorder clas...

1 year ago | 0

Answered
How do i use my optimized gpr model and neural network to make predictions in app designer using user input data
These two answers explain how to make predictions in app designer with models trained in regression learner or classification le...

1 year ago | 0

Answered
Need help to find shapley value
The shapley command (https://www.mathworks.com/help/stats/shapley.html) was released in R2021a. The sidebar indicates you were u...

1 year ago | 0

Answered
How to create a frequency distribution table
From the raw data, you can use histcounts2 (https://www.mathworks.com/help/matlab/ref/histcounts2.html) to get the number of dat...

1 year ago | 0

Answered
How to calculate Shapley values of the constructed classification model from the whole dataset, not a query point ?
The short answer is to loop over the query points, then take the mean(abs(shapley_value)) along the appropriate dimension. You ...

1 year ago | 0

Answered
Inherit or Copy ClassificationLinear
When you do not have a classification model or regression model that is accepted by the shapley command, you can calculate Shapl...

1 year ago | 0

Answered
How to use Shapley function for an already fitted regression model?
You can calculate Shapley values for an arbitrary model by specifying the model prediction function with a function handle, and ...

1 year ago | 1

Answered
Get Shapley values for the whole model
For Shapley-based feature importance, it is recommended to use the mean absolute Shapley values. So, insert an absolute value fu...

1 year ago | 1

| accepted

Answered
OLS regression with missing values within the Y variable
Additional info based on the comments below: It looks like you have a timeseries of ETF data. If you want to model it as a time...

1 year ago | 0

Answered
How to apply Ensemble Learning using two Trained Deep Learning Models
The short answer is that for ensemble averaging, use the scores from each classifier, not just the class label predictions from ...

1 year ago | 0

Answered
Sentimental Analysis using SVM
You can find example code of sentiment analysis using SVMs in this post: https://www.mathworks.com/matlabcentral/answers/1945859...

1 year ago | 0

| accepted

Answered
normalizing for neural net fitting?
It looks like your question is under-specified. What is the design of the neural network? What are the outputs of the neural net...

1 year ago | 0

Answered
What are "multilayer shallow neural networks"?
The short answer is that "multilayer shallow neural networks" refers to neural networks that have, for example, 2 or 3 layers. ...

1 year ago | 0

| accepted

Load more