Flexible Discriminant Analysis
Flexible discriminant analysis recasts linear discriminant analysis as a regression of class scores on the predictors and then replaces the linear regression by a flexible one, such as polynomial or spline terms. This yields curved class boundaries while keeping the familiar discriminant variates and the LDA classification rule.
유연 판별분석은 선형판별분석을 집단 점수를 예측변수에 회귀하는 문제로 바꾼 뒤, 그 선형회귀를 다항식이나 스플라인 같은 유연한 회귀로 대체하는 방법입니다. 판별변량과 선형판별분석의 분류 규칙은 그대로 두면서 휘어진 집단 경계를 얻을 수 있습니다.
Can my classes be separated better with curved boundaries than with the straight boundaries of linear discriminant analysis?
선형판별분석의 직선 경계보다 휘어진 경계로 집단을 더 잘 구분할 수 있을까요?
The method expands the predictors into a linear, polynomial or additive spline basis (optionally with a ridge penalty), regresses the class indicators on it, and finds optimal class scores from a generalised eigenproblem. Rows are classified by weighted distances to class means of the discriminant variates with prior correction. Cross-validated accuracy, with the basis refitted in each fold, is compared with LDA.
When to use Flexible Discriminant Analysis
- Class boundaries are likely curved but you want a discriminant-analysis style model.
- You want low-dimensional discriminant variates from a nonlinear model.
- LDA fits poorly and you want a direct comparison.
When to use something else
- Boundaries are linear and classes share a covariance: use Linear Discriminant Analysis
- Class covariances differ strongly: use Quadratic Discriminant Analysis
- You mainly want predictive accuracy with many features: use Random Forest
Assumptions and requirements
- Independent rows
- Roughly equal spread of classes in the expanded space
- Basis size small relative to the sample, or a ridge penalty
What the analysis reports
- Cross-validated accuracy against LDA
- Eigenvalues of the optimal scores
- Class means of the discriminant variates
- Class-wise recall
How to report it
Flexible discriminant analysis with a [value] basis classified [value] groups with 5-fold cross-validated accuracy [value], compared with [value] for linear discriminant analysis.
Related methods
- Linear Discriminant Analysis
- Quadratic Discriminant Analysis
- Stepwise Discriminant Analysis (Wilks' Lambda)
- Multinomial Logistic Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
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 Flexible Discriminant Analysis 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.