Sparse PLS Discriminant Analysis (sPLS-DA)
Sparse PLS discriminant analysis classifies observations into groups from many predictors while selecting a small number of them. It fits PLS components between the predictors and the dummy-coded class membership and applies a lasso-type soft threshold to the predictor weights so that each component uses only a chosen number of variables (keepX). New observations are classified by the largest predicted class score or the nearest class centroid in component space.
희소 PLS 판별분석은 많은 예측변수로 관측치를 집단에 분류하면서 그 가운데 적은 수의 변수만 골라냅니다. 예측변수와 더미 부호화한 집단 소속 사이의 PLS 성분을 구하되 예측변수 가중치에 라소형 연성 임계값을 적용해 각 성분이 정해진 개수(keepX)의 변수만 쓰게 합니다. 새 관측치는 가장 큰 예측 집단 점수나 성분 공간에서 가장 가까운 집단 중심으로 분류합니다.
Which few variables separate my groups, and how well do they classify new observations?
집단을 가르는 소수의 변수는 무엇이며, 그 변수들로 새 관측치를 얼마나 잘 분류할 수 있습니까?
You get the selected variables and their weights on each component, how often each was selected across cross-validation folds, the share of predictor variance per component, and training and cross-validated (balanced) error rates.
When to use Sparse PLS Discriminant Analysis (sPLS-DA)
- There are many correlated predictors (often more than observations), as in omics or spectroscopy.
- You want a classifier and a short list of discriminating variables at the same time.
- Two or more classes are to be separated.
When to use something else
- All predictors should stay in the model: use PLS Discriminant Analysis (PLS-DA)
- Few predictors and roughly normal classes: use Linear Discriminant Analysis
- You need class probabilities from a penalised likelihood model: use Regularized Logistic Regression (Lasso, Ridge, Elastic Net)
Assumptions and requirements
- Numbers of components and selected variables (keepX) chosen with care, ideally tuned by repeated cross-validation
- Predictors on comparable scales after standardisation
- Each class has enough rows for cross-validation
What the analysis reports
- Selected variables with loading weights for each component
- Selection frequency across cross-validation folds
- Training, cross-validated and balanced error rates
- Share of predictor variance per component
How to report it
sPLS-DA with [value] components keeping [value] variables each reached a cross-validated error rate of [value]% (balanced [value]%).
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Sparse PLS Discriminant Analysis (sPLS-DA) itself, at the same price.
- Sparse PLS regression — mode set to “regression”
- Multi-block sPLS-DA (DIABLO) — design set to “0.1”
Related methods
- PLS Discriminant Analysis (PLS-DA)
- Orthogonal PLS (OPLS and OPLS-DA)
- Linear Discriminant Analysis
- Regularized Logistic Regression (Lasso, Ridge, Elastic Net)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-6).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Sparse PLS Discriminant Analysis (sPLS-DA) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.