Plot high dimensional Matrix

3 vues (au cours des 30 derniers jours)
Harel Harel Shattenstein
Harel Harel Shattenstein le 1 Août 2019
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?

Réponses (1)

Walter Roberson
Walter Roberson le 1 Août 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.

Catégories

En savoir plus sur Discrete Data Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by