Repository navigation
ENH: Make PCA a class and add features - #2004
Conversation
|
Is it based on this too? |
|
Some things left to do:
|
|
I didn't see that when I searched. It has a loose semblance with the code in the sandbox, but adds features popular in econometric applications of factor models like GLS estimation, Information Criteria for selection. and a general interface for user weights. |
|
Quick comments. Might want to borrow the use of the existing data handling routines. Also liked that there's also a functional entry point if you want it. We're trying to follow plotting convention for methods with |
|
The function is easy - jut a trivial wrapper around the class. In fact, like yours, the class is a results class, and |
|
Don't remove the function in the sandbox yet. I still have them i use, and the class might be overkill for the reparameterizations that I have started. |
|
As background to something like the simple pca_svd |
304c5bc to
2dbded4
Compare
|
Can you cherry-pick and update the notebook (and docs changes around it) and the dataset from #1596? |
|
I plan on it - no need to make work for myself. |
|
Sure. Just didn't see it in the TODO list. You can close that PR after that. |
986201d to
c1af11d
Compare
|
There are a few PCA class issues. #1238. |
0105245 to
10e37cd
Compare
0c2d2aa to
bf63322
Compare
|
Did you mean to merge master in to this branch? |
|
Nope. Should be back after a reset/rebase. |
|
Looks good to me. A note in the release notes would be helpful. I can add the notebook to the gallery page unless you want to [1]. |
|
Another PR with a single commit and disconnected history. However, in this case I don't really care (much), and I don't think there was much history to loose. I'm fine with merging this as is, I didn't really look at the details. For now we still need to keep the old sandbox versions around for backwards compatibility and limited use cases, but we might won't to deprecate those, to redirect current sandbox users to this. Looks very good overall, With the additional features it looks useful for standalone PCA analysis, and might be a good starting point to expand into the multivariate statistical analysis area (with Factor analysis and similar), instead of being a just a @bashtage can you rebase and force push again, and we hit the green merge button Thanks |
Encompasses all sandbox PCA routines and added features for plotting, selecting the number of components and rapidly re-projecting on a subset of factors
|
Rebased so should be good once green. |
|
merging Thanks @bashtage Can you still write a short announcement for the release notes? |
ENH: Make PCA a class and add features
|
I'll do something tonight. |
|
Release notes blurb/example/sexy graph for this would still be helpful. |
Encompasses all sandbox PCA routines and added features for plotting, selecting
the number of components and rapidly re-projecting on a subset of factors