Plot high dimensional Matrix
1 view (last 30 days)
Show older comments
I have a matrix with 5 columns, 4 are for values and 1 is the catgory.
For example: 4 grades and a category passed/did not passed.
I am trying to plot a scatter plot for better understanding of SVM, is there a way to encode vector of 4 coordinates to a point in XY plane?
0 Comments
Answers (1)
Walter Roberson
on 1 Aug 2019
Mathematically it is not possible to encode N+1 continuous dimensions into N continuous dimensions.
If the dimensions were discrete then you could use a variation of Cantor's diagonalization technique to map any 4D point to 1D (and therefore trivially to 2D). One way of thinking about this is that if dimensions were discrete then you could map each location to its matlab linear index.
So you can do it if you are willing to to discretize your space.
The next question to ask is whether the resulting graph would be understandable to humans. The answer to that is "Probably not." But that is a different question than whether some encoding technique exists.
0 Comments
See Also
Categories
Find more on Scatter Plots 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!