Skip to content

Methods · Chemometrics & cheminformatics · Classification

PLS Discriminant Analysis (PLS-DA)

PLS discriminant analysis (PLS-DA) fits partial least squares regression of dummy-coded class membership on many correlated predictors and assigns each sample to the class with the largest predicted value.

PLS 판별분석(PLS-DA)은 서로 강하게 상관된 많은 예측변수로 집단 소속(가변수)을 부분최소제곱 회귀한 뒤, 예측값이 가장 큰 집단으로 표본을 분류하는 방법입니다.

I have NIR spectra from three grape varieties with far more wavelengths than samples; how do I build and validate a classifier?

파장 수가 표본 수보다 훨씬 많은 세 품종의 NIR 스펙트럼으로 분류 모델을 만들고 검증하려면 어떻게 해야 하나요?

PLS-DA compresses the correlated wavelengths into a few latent variables that separate the classes, with the number of latent variables chosen by stratified cross-validated misclassification. Report the cross-validated confusion matrix and error rate, a class-label permutation test showing the error is better than chance, and VIP scores for the wavelengths that drive the separation.

When to use PLS Discriminant Analysis (PLS-DA)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A PLS-DA model with [value] latent variables (n = [value], [value] classes, [value] variables, autoscaled) had a [value]-fold cross-validated error rate of [value] (balanced [value]); a permutation test with [value] permutations gave p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with scikit-learn.

    독립 계산. scikit-learn 대조 참조 시험 2건 통과.

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 PLS Discriminant Analysis (PLS-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.

Method ID Q05004 · Reviewed 2026-10-25