Kartografická vizualizace IV
Exploratory tools
Exploratory Data Analysis
- hypothesis creation
- data patterns revelation
- exploration, not visualization
- statistics
ESDA tools
scatter plot
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2557817/life-expectancy-vs-gdp-per-capita.png)
ESDA tools
parallel coordinate plot
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2557821/WorldPCPlotNiger-Sweden-GermanyWeb.png)
ESDA tools
brushing
- connected display of spatial and tabular/statistical data
paneling
- one visualization for multiple subsets of data
ESDA tools
k-means clustering
- given: data
- points are nearer to the center in "their" cluster
- each cluster has an unknown "center" - how do you choose one?
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2557874/kmeans1.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2557890/kmeans2.png)
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2557897/kmeans3.png)
ESDA tools
k-means clustering
- sum distances to center over clusters - try to minimize this value
- only numeric attributes, yields different results
- initialize centers (from 1 to k)
- for each point:
- find nearest centroid
- assign the point to cluster
- for each centroid:
- calculate new position based on average of attribute values
- stop when no points change memberships
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2557923/kmeans4.png)
ESDA tools
k-means clustering
- Cluster 3.0
- http://bonsai.hgc.jp/~mdehoon/software/cluster/software.htm
can you think of any disadvantages of this algorithm?
ESDA tools
principal component analysis (PCA)
- directions where there is the most variance
- eigenvectors = directions
- eigenvalue = how much variance there is in eigenvector
- principal component = eigenvector with the highest eigenvalue
- eigenvectors put the data into a new set of dimensions
- can be used to reduce the dimensions of a data set
![](https://s3.amazonaws.com/media-p.slid.es/uploads/136568/images/2562766/pca8.jpg)
ESDA tools
- ESTAT
- CCmaps
- GeoDa
- GeoVIZ
- CommonGIS
- TimeMap
- https://walkerke.shinyapps.io/neighborhood_diversity/
Kartografická vizualizace IV: clustering
By Michal Zimmermann
Kartografická vizualizace IV: clustering
- 1,571