Description Usage Arguments Details Value Author(s) References See Also Examples
Performs local fisher discriminant analysis (LFDA) on the given data.
1 2 |
x |
n x d matrix of original samples. n is the number of samples. |
y |
length n vector of class labels |
r |
dimensionality of reduced space (default: d) |
metric |
type of metric in the embedding space (no default) 'weighted' — weighted eigenvectors 'orthonormalized' — orthonormalized 'plain' — raw eigenvectors |
knn |
parameter used in local scaling method (default: 5) |
LFDA is a method for linear dimensionality reduction that maximizes between-class scatter and minimizes within-class scatter while at the same time maintain the local structure of the data so that multimodal data can be embedded appropriately. Its limitation is that it only looks for linear boundaries between clusters. In this case, a non-linear version called kernel LFDA will be used instead. Three metric types can be used if needed.
list of the LFDA results:
T |
d x r transformation matrix (Z = x * T) |
Z |
n x r matrix of dimensionality reduced samples |
Yuan Tang
Sugiyama, M (2007). Dimensionality reduction of multimodal labeled data by local Fisher discriminant analysis. Journal of Machine Learning Research, vol.8, 1027–1061.
Sugiyama, M (2006). Local Fisher discriminant analysis for supervised dimensionality reduction. In W. W. Cohen and A. Moore (Eds.), Proceedings of 23rd International Conference on Machine Learning (ICML2006), 905–912.
See klfda
for the kernelized variant of
LFDA (Kernel LFDA).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.