RAFisher2cda

Canonical Discriminant Analysis is a dimension-reduction technique related to PCA and CCA.
6.5K 次下载
更新时间 2006/1/30

查看许可证

Canonical discriminant analysis is a dimension-reduction technique related to principal component analysis and canonical correlation called canonical discriminant analysis. It derives the canonical coefficients parallels that of one-way MANOVA and it finds linear combinations of the quantitative variables that provide maximal separation between the classes or groups in much the same way that principal components summarize total variation.

The output produced are the canonical coefficients and the scored canonical variables. The canonical coefficients are rotated. The ellipse confidence bounds. Also, it proceeds with a Bartlett's approximate chi-squared statistic for testing the canonical correlation coefficients.

In summary, the canonical discriminant analysis:
- Transform the variables so that the pooled within-group covariance matrix is
an identity matrix.
- Compute group means on the transformed variables.
- Performs a principal component analysis on the means, weighting each mean by the number of observations in the group. The eigenvalues are equal to the ratio of between-group variation to the within-group variation in the direction of each principal component. Here, the principal component analysis is runned by the singular value decomposition.
- Back-transform the principal components into the space of the original variables, obtaining the canonical variables.

File gives you the option to get an unbiased or maximum-likelihood parameter estimation.

引用格式

Antonio Trujillo-Ortiz (2024). RAFisher2cda (https://www.mathworks.com/matlabcentral/fileexchange/4836-rafisher2cda), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R11
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Were attached the jpg-images of the three Iris plant species.