Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
data_mining:pca [2014/08/24 01:55] – [Algorithmus] phreazer | data_mining:pca [2014/08/24 02:10] – [Parameterwahl (k)] phreazer | ||
---|---|---|---|
Line 25: | Line 25: | ||
$z = U_{\text{reduce}}^T x$ | $z = U_{\text{reduce}}^T x$ | ||
+ | |||
+ | ===== Parameterwahl (k) ===== | ||
+ | |||
+ | 99% der Varianz bleibt erhalten. | ||
+ | |||
+ | $$ | ||
+ | \frac{\frac{1}{m} \sum_{i=1}^m || x^{(i)} - x_{\text{approx}}^{(i)} ||^2}{\frac{1}{m} \sum_{i=1}^m || x^{(i)}||^2} \leq 0.01 | ||
+ | $$ | ||
+ | |||
+ | [U,S,V] mit S als diagonale Matrix. | ||
+ | |||
+ | Für ein k, kann $1-\frac{\sum_{i=1}^k S_{ii}}{\sum_{i=1}^n S_{ii}} \leq 0.01$. | ||
+ | |||
+ | ===== Decompression ===== | ||
+ | $x_\text{approx} = U_\text{reduce} z$ |