|
Algorithm 5:DIM-CORESET
|
-
1:
Input: A matrix , an integer , and an error parameter .
-
2:
Output: A diagonal matrix that satisfies Corollary 7.
-
3:
{where is the ith row of A}
-
4:
: = the full SVD of
-
5:
for every
-
6:
:= the row stacking of for every
-
7:
: = a vector summarization -coreset for .
-
8:
a diagonal matrix in , where , .
-
9:
ReturnW
|