Description
Is your feature request related to a problem? Please describe.
Scikit-learn does not currently support supervised Principal Component Analysis (PCA) as it is considered not broadly applicable in the general context of machine learning see this discussion. However, within climate science, supervised dimensionality reduction techniques are more commonly used to capture dependencies between variables, as evidenced by studies like this one and this one.
Describe the solution you'd like
I would like to propose the integration of supervised dimensionality reduction mechanisms into xeofs
, or an evaluation of the feasibility of implementing these techniques. This would allow users in specialized fields, like climate science, to leverage the power of supervised PCA for more effective data modeling.
Additional context
If there is interest in integrating supervised PCA or similar methods, I would be happy to contribute to the implementation and assist in adapting the techniques to fit the structure and goals of xeofs
.
Here is the original paper referenced in the scikit post and here is a tutorial paper already including python code for implementation of the techniques.