Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

online PCA in python

Tags:

python

pca

Does anyone know a python library which has online PCA estimations (something similar to what is described in this paper online PCA)

Does it make sense to use the sklearn.decomposition.IncrementalPCA method with batch_size =1.

like image 717
user77005 Avatar asked Feb 05 '26 22:02

user77005


1 Answers

You can check this out:

https://github.com/flatironinstitute/online_psp

It is not exactly PCA since components might be not orthogonal (you can easily orthogonalize them at need, there is also an object method to do so)

Cheers

DISCLAIMER: I am one of the developers of this project.

like image 107
Andrea Giovannucci Avatar answered Feb 08 '26 12:02

Andrea Giovannucci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!