SLDR: supervised linear dimensionality reduction toolbox
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 (2025). SLDR: supervised linear dimensionality reduction toolbox (https://github.com/sajjadkarimi91/SLDR-supervised-linear-dimensionality-reduction-toolbox/releases/tag/1.2), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
techniques
techniques/cov-denoising
| Version | Published | Release Notes | |
|---|---|---|---|
| 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 |

