[scikit-learn] Update or downgrade PCA

Pamphile Roy roy.pamphile at gmail.com
Tue Jul 3 04:41:30 EDT 2018

Hi everyone,

I have some code that allows to upgrade (or downgrade) a PCA with a new
The update part is handy when you are doing live observations for instance
and you want a quick way to update your PCA without having to recompute the
whole thing from scratch.

Are you interested in this? (For me or someone else to integrate it.)

Code is open-source (from my Batman project) and can be found here:


Functions of interest are _upgrade and downgrade.
Although, the code should be cleaned up, it works well and it got some unit

Of course the math is backed-up by some literature:

[1] M. Brand: Fast low-rank modifications of the thin singular value
2006. DOI:10.1016/j.laa.2005.07.021

[2] T. Braconnier: Towards an adaptive POD/SVD surrogate model for
aeronautic design.
Computers & Fluids. 2011. DOI:10.1016/j.compfluid.2010.09.002


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20180703/1ac88580/attachment.html>

More information about the scikit-learn mailing list