Answers are grounded in this paper and cite their sources.
We describe a new algorithm called FrequentDirections for deterministic matrix sketching in the row-update model. The algorithm is presented an arbitrary input matrix A ∈ Rn × d one row at a time. It performs O(d) operations per row and maintains a sketch matrix B ∈ R× d such that for any k < , \|A^TA - B^TB \|_2 ≤ \|A - A_k\|_F^2 / (-k) {\;and\;} \|A - πB_k(A)\|_F^2 ≤ (1 + k/-k) \|A-A_k\|_F^2. Here, A_k stands for the minimizer of \|A - A_k\|_F over all rank k matrices (similarly for B_k) and πB_k(A) is the rank k matrix resulting from projecting A on the row span of B_k. We show that both of these bounds are the best possible for the space allowed. The summary is mergeable and hence trivially parallelizable. Moreover, FrequentDirections outperforms exemplar implementations of existing streaming algorithms in the space-error tradeoff. This paper combines, simplifies, and extends the results of Liberty [Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2013], Ghashami and Phillips [Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, 2014], and Woodruff [Proceedings of the 27th Annual Conference on Advances in Neural Information Processing Systems, 2014].
No takes yet. Share an insight, caveat, or question.
Ghashami et al. (2016) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: