A MATLAB toolbox for supervised linear dimension reduction (SLDR) including LDA, HLDA, PLSDA, MMDA, HMMDA and SDA
https://github.com/sajjadkarimi91/SLDR-supervised-linear-dimensionality-reduction-toolbox
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
SLDR
A MATLAB toolbox for supervised linear dimension reduction (SLDR) including LDA, HLDA, MMDA, WHMMDA, PLS-DA, and SDA
Codes for the following papers were implemented:
- Heteroscedastic Max–Min distance analysis for dimensionality reduction (WHMMDA)
- Heteroscedastic max-min distance analysis (WHMMDA)
- Max-min distance analysis by using sequential SDP relaxation for dimension reduction (MMDA)
- Linear dimensionality reduction via a heteroscedastic extension of LDA: the Chernoff criterion (HLDA)
- Multiclass partial least squares discriminant analysis: Taking the right way—A critical tutorial (PLS-DA)
- Stochastic discriminant analysis for linear supervised dimension reduction (SDA)
Note:
To avoid matrix singularity in computations, we employ Marchenko–Pastur for denoising covariance matrices.
1. Introduction.
This package includes the prototype MATLAB codes for supervised linear dimension reduction (SLDR).
The implemented methods include:
- Linear discriminant analysis (LDA)
- Heteroscedastic extension of LDA (HLDA)
- Max-min distance analysis (MMDA)
- Heteroscedastic extension of MMDA (WHMMDA)
- Partial least squares discriminant analysis (PLS‐DA)
- Stochastic discriminant analysis (SDA)
2. Usage & Dependency.
Dependency:
If you want to use MMDA or WHMMDA, you should download the following zip file & extract it in the "cvx-toolbox" or current directory
CVX MATLAB toolbox for Windows can be downloaded from [website](http://web.cvxr.com/cvx/cvx-w64.zip)
Usage:
Run and check "demo_run_methods.m" and you'll see the below results for all methods
Cite As
Sajjad Karimi (2026). SLDR: supervised linear dimensionality reduction toolbox (https://github.com/sajjadkarimi91/SLDR-supervised-linear-dimensionality-reduction-toolbox/releases/tag/1.2), GitHub. Retrieved .
General Information
- Version 1.2 (101 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with R2018a and later releases
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2 | See release notes for this release on GitHub: https://github.com/sajjadkarimi91/SLDR-supervised-linear-dimensionality-reduction-toolbox/releases/tag/1.2 |
||
| 1.1 |

