Re: [scikit-learn] Update or downgrade PCA

2018-07-03 Thread Pamphile Roy
So yes there is a difference between the two depending on the size of the matrix. Following is an output from ipython: *With a matrix of shape (1000 * 500)* (batman3) tupui@Batman:Desktop $ ipython -i sk_pod.py Python 3.6.5 | packaged by conda-forge | (default, Apr 6 2018, 13:44:09) Type 'copyri

Re: [scikit-learn] Update or downgrade PCA

2018-07-03 Thread Pamphile Roy
I have no idea about the comparison with sklearn.decomposition.IncrementalPCA. Was not aware of this but from the code it seems to be a different approach. I will try to come with some numbers. Pamphile ___ scikit-learn mailing list scikit-learn@python.o

Re: [scikit-learn] Update or downgrade PCA

2018-07-03 Thread Roman Yurchak
Hi Pamphile, On 03/07/18 10:41, Pamphile Roy wrote: I have some code that allows to upgrade (or downgrade) a PCA with a new sample. 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

Re: [scikit-learn] Update or downgrade PCA

2018-07-03 Thread Alexandre Gramfort
Hi, how does it compare with: http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.IncrementalPCA.html#sklearn.decomposition.IncrementalPCA ? Alex ___ scikit-learn mailing list scikit-learn@python.org https://mail.python.org/mailman/

[scikit-learn] Update or downgrade PCA

2018-07-03 Thread Pamphile Roy
Hi everyone, I have some code that allows to upgrade (or downgrade) a PCA with a new sample. 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?