Feature Selection in MATLAB

前端 未结 3 2155
天涯浪人
天涯浪人 2020-12-25 10:17

I have a dataset for text classification ready to be used in MATLAB. Each document is a vector in this dataset and the dimensionality of this vector is extremely high. In th

3条回答
  •  梦谈多话
    2020-12-25 10:54

    Feature selection depends on the specific task you want to do on the text data.

    One of the simplest and crudest method is to use Principal component analysis (PCA) to reduce the dimensions of the data. This reduced dimensional data can be used directly as features for classification.

    See the tutorial on using PCA here:

    http://matlabdatamining.blogspot.com/2010/02/principal-components-analysis.html

    Here is the link to Matlab PCA command help:

    http://www.mathworks.com/help/toolbox/stats/princomp.html

    Using the obtained features, the well known Support Vector Machines (SVM) can be used for classification.

    http://www.mathworks.com/help/toolbox/bioinfo/ref/svmclassify.html http://www.autonlab.org/tutorials/svm.html

提交回复
热议问题