Open krassowski opened 4 years ago
For a dataset with n_features=1001 and n_samples=999 we will get:
ValueError: n_components=1000 must be between 0 and min(n_samples, n_features)=999 with svd_solver='full'
The default value of preprocess_with_pca_dim causes problems when trying to transform_fit() as:
preprocess_with_pca_dim
transform_fit()
fit
min(1000, n_samples)
And a very interesting idea, btw - thank you for sharing code here!
For a dataset with n_features=1001 and n_samples=999 we will get:
The default value of
preprocess_with_pca_dim
causes problems when trying totransform_fit()
as:fit
)min(1000, n_samples)