Week 7 Lecture 2
Selecting the optimal in -means
Look for diminishing change, and stop before itβs not worth it
-medoids
Almost -means, but the center points must be elements of the datapoints. ()
-medians
Like -medoids, but we are minimizing the (taxicab) distance instead of (euclidean).
We define the median of a finite set to be the middle element if the set has odd number of elements, and the average of the two middle elements if it has an even number of elements.
Algorithm for the -medians problem is almost the same as the -means algorithm, but updating clusters is done via the median rather than the centroid.
Non-linear dimensionality reduction
- Transforming high-dimensional space into low-dimensional space
- Can be used for e.g. visualization
- Often unsupervised
Dimensionality reduction:
Given a dataset and a dimension
Find an embedding such that is preserves significant structures of