Is number of features the same as number of dimentions in SVM?

3 次查看(过去 30 天)
can we say that if we have two features the number of dimension is two, three features means three-dimensional, an so on?
and will number of classes affect it?
I'm using SVM to classify my data into two classes, with three features. how many dimensional does my feature environment have?

回答(1 个)

Walter Roberson
Walter Roberson 2017-7-5
编辑:Walter Roberson 2017-7-5
For SVM and most other clustering methods, features correspond to columns, and rows correspond to samples. If you have N features then there is a sense in which you are exploring an N-dimensional space mathematically. However, you need to distinguish between that meaning of the word "dimension" and the typical MATLAB meaning of the word as referring to the number of indices in the indexing expression.

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by