on-internet
← Community

scikit-learn pipeline model predicting same results for all input

Stack Overflow ·

In the program, I am scanning a number of brain samples taken in a time series of 40 x 64 x 64 images every 2.5 seconds. The number of 'voxels' (3D pixels) in each image is thus ~ 168,000 ish (40 * 64 * 64), each of which is a 'feature' for an image sample. I thought of using Recursive Feature Elimination (RFE). Then follow this up with principal component analysis (PCA) because of the ridiculously high n to perform dimensionality reduction. There are nine classes to predict. Thus a multi-class classification problem. Starting with RFE: estimator = SVC(kernel='linear') rfe = RFE(estimator,n_fe

Comments

Sign in or sign up to comment and upvote.

No comments yet.