<div dir="ltr"><span style="font-size:12.800000190734863px">Hi everyone,</span><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">I have some code that allows to upgrade (or downgrade) a PCA with a new sample.</div><div style="font-size:12.800000190734863px">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.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Are you interested in this? (For me or someone else to integrate it.)<br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Code is open-source (from my Batman project) and can be found here:</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><a href="https://gitlab.com/cerfacs/batman/blob/develop/batman/pod/pod.py" target="_blank">https://gitlab.com/cerfacs/<wbr>batman/blob/develop/batman/<wbr>pod/pod.py</a><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Functions of interest are _upgrade and downgrade.</div><div style="font-size:12.800000190734863px">Although, the code should be cleaned up, it works well and it got some unit tests.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Of course the math is backed-up by some literature:</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><div>[1] M. Brand: Fast low-rank modifications of the thin singular value decomposition.</div><div>2006. DOI:10.1016/j.laa.2005.07.021</div><div><br></div><div>[2] T. Braconnier: Towards an adaptive POD/SVD surrogate model for aeronautic design.</div><div>Computers & Fluids. 2011. DOI:10.1016/j.compfluid.2010.<wbr>09.002</div></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Cheers,</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Pamphile</div><div style="font-size:12.800000190734863px">@tupui</div></div>