Plot high dimensional Matrix

1 次查看(过去 30 天)
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?

回答(1 个)

Walter Roberson
Walter Roberson 2019-8-1
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.

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by