Plot high dimensional Matrix

조회 수: 3 (최근 30일)
Harel Harel Shattenstein
Harel Harel Shattenstein 2019년 8월 1일
답변: Walter Roberson 2019년 8월 1일
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에서 Discrete Data Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by