ldaGSVD {LDATree}R Documentation

Linear Discriminant Analysis using the Generalized Singular Value Decomposition

Description

[Experimental] Fit an LDA/GSVD model.

Usage

ldaGSVD(formula, data)

Arguments

formula

an object of class formula, which has the form class ~ x1 + x2 + ...

data

a data frame that contains both predictors and the response. Missing values are NOT allowed.

Details

Traditional Fisher's Linear Discriminant Analysis (LDA) ceases to work when the within-class scatter matrix is singular. The Generalized Singular Value Decomposition (GSVD) is used to address this issue. GSVD simultaneously diagonalizes both the within-class and between-class scatter matrices without the need to invert a singular matrix. This method is believed to be more accurate than PCA-LDA (as in MASS::lda) because it also considers the information in the between-class scatter matrix.

Value

An object of class ldaGSVD containing the following components:

References

Ye, J., Janardan, R., Park, C. H., & Park, H. (2004). An optimization criterion for generalized discriminant analysis on undersampled problems. IEEE Transactions on Pattern Analysis and Machine Intelligence

Howland, P., Jeon, M., & Park, H. (2003). Structure preserving dimension reduction for clustered text data based on the generalized singular value decomposition. SIAM Journal on Matrix Analysis and Applications

Examples

fit <- ldaGSVD(Species~., data = iris)
# prediction
predict(fit,iris)

[Package LDATree version 0.1.2 Index]