[scikit-learn] custom estimator with more than two arguments to fit()

2020-07-31 Thread Gregory, Matthew
Hi all, I'm fairly new to scikit-learn, but have been using a predictive model for a while now that would benefit from scikit-learn's estimator API. However, I could use some advice on how best to implement this. Briefly, the model is a combination of dimension reduction and nearest neighbors

Re: [scikit-learn] custom estimator with more than two arguments to fit()

2020-07-31 Thread Nicolas Hug
Hi Matt, We do have CCA and other PLS-related transformers / regressors in scikit-learn. They are able to do dimensionality reduction on both X and Y (which I believe correspond to spp and env), so you might want to have a look at these. However, they're not fully compatible with the whole ec

Re: [scikit-learn] custom estimator with more than two arguments to fit()

2020-07-31 Thread Gregory, Matthew
Hi Nicolas, Nicolas Hug wrote: > We do have CCA and other PLS-related transformers / regressors in > scikit-learn. They are able to do dimensionality reduction on both > X and Y (which I believe correspond to spp and env), so you might > want to have a look at these. However, they're not fully > c