Econometrics/Spring 2018 / Reduction / Principal Component Analysis / Planets / planets-visualize.sagews
2108 viewsВизуализация данных средствами Sage
Следующий вопрос: нужно ли стандартизировать данные?
Если признаки имеют различные масштабы и/или единицы измерения, то да, нужно.
[Name, Distance, Diameter, Period, Mass]
[Mercury, , , , ]
[Venus, , , , ]
[Earth, , , , ]
[Mars, , , , ]
[Jupiter, , , , ]
[Saturn, , , , ]
[Uranus, , , , ]
[Neptune, , , , ]
[Pluto, , , , ]
Используем R
Трёхмерная диаграмма рассеяния
'data.frame': 9 obs. of 5 variables:
$ Name : Factor w/ 9 levels "Earth","Jupiter",..: 4 9 1 3 2 7 8 5 6
$ Distance: int 35950 67180 92900 141500 483200 886000 1782000 2795085 3670000
$ Diameter: int 3100 7700 7927 4190 88640 74100 32000 30599 1475
$ Period : int 2112 5393 8766 16488 103911 258420 1445400 1440000 2172480
$ Mass : num 0.054 0.81 1 0.11 316.94 ...


Массив scatter plot'ов

Пиктограммы-звёзды

Лица Чернова

Loading required package: tcltk
Warning message:
“no DISPLAY variable so Tk is not available”
Attaching package: ‘aplpack’
The following objects are masked from ‘package:TeachingDemos’:
faces, slider
effect of variables:
modified item Var
"height of face " "Distance"
"width of face " "Diameter"
"structure of face" "Period"
"height of mouth " "Mass"
"width of mouth " "Distance"
"smiling " "Diameter"
"height of eyes " "Period"
"width of eyes " "Mass"
"height of hair " "Distance"
"width of hair " "Diameter"
"style of hair " "Period"
"height of nose " "Mass"
"width of nose " "Distance"
"width of ear " "Diameter"
"height of ear " "Period"

effect of variables:
modified item Var
"height of face " "Distance"
"width of face " "Diameter"
"structure of face" "Period"
"height of mouth " "Mass"
"width of mouth " "Distance"
"smiling " "Diameter"
"height of eyes " "Period"
"width of eyes " "Mass"
"height of hair " "Distance"
"width of hair " "Diameter"
"style of hair " "Period"
"height of nose " "Mass"
"width of nose " "Distance"
"width of ear " "Diameter"
"height of ear " "Period"
