Closed kegl closed 5 years ago
The travis of the ramp kit goes through https://travis-ci.org/ramp-kits/drug_spectra/jobs/366004310, so this may be some data selection issue in https://travis-ci.org/paris-saclay-cds/rampwf-kits-test-master
Do you have this locally, or is it on travis somewhere? And what version of sklearn?
It's the main test: https://travis-ci.org/paris-saclay-cds/ramp-workflow
sorry, see your title of "failing with new sklearn"
I'm rerunning drug spectra in https://travis-ci.org/paris-saclay-cds/rampwf-kits-test-master, but I think this is fine.
I'm guessing that travis pulls the latest sklearn that just got released. I did pip -U on my mac and pytest fails with the same error (in rampwf).
I'm guessing that travis pulls the latest sklearn that just got released
Yes, that is the case I think.
From http://scikit-learn.org/dev/whats_new.html#sklearn-decomposition
In decomposition.PCA selecting a n_components parameter greater than the number of samples now raises an error. Similarly, the n_components=None case now selects the minimum of n_samples and n_features
So it might be we already had that problem, but now they started erroring on it
maybe, so then just modify the command in the main test pls.
Please check this. It's weird because I though we had more than 100 components.