Is number of features the same as number of dimentions in SVM?
2 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Walter Roberson
on 5 Jul 2017
Edited: Walter Roberson
on 5 Jul 2017
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.
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!