How to use PCA (Principal component analysis) with SVM for classification in Mathlab?

3 次查看(过去 30 天)
The input data that I have is a matrix X (490*11) , where the rows of X correspond to observations and the 11 columns to correspond (predictors or variables). I need to apply the PCA on this matrix to choose a set of predictors (as a feature selection technique) .In Matlab, I know that I can use this function [coeff,score,latent]= pca(X) for applying the PCA on input matrix, but I don't know how to use the output of this function to create a new matrix that I need to use for training Support Vector Machine classifier. Please Help me!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by