Principal Component Analysis (PCA) in matlab
21 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am trying to do neural network forecasting of data and i would like to apply PCA to the input data (both testing and training ).
Can i use the syntax coeff = pca(X) for converting input data to get the principal components and use the output of this command as training and test data for neural network.
Is there any other procedures to follow and especially to improve accuracy
Or should i use this command ?
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2020 年 12 月 2 日
編集済み: KALYAN ACHARJYA
2020 年 12 月 2 日
To perform principal component analysis directly on the data matrix, use pca.
Matlab Doc Suggested:
pcacov does not standardize V to have unit variances. To perform principal component analysis on standardized variables, use the correlation matrix R = V./(SD*SD'), where SD = sqrt(diag(V)), in place of V. To perform principal component analysis directly on the data matrix, use pca.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!