Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- param_grid = {'preprocessing': [MinMaxScaler(),
- QuantileTransformer(output_distribution="uniform",n_quantiles=20)],
- 'feature_selection':[SelectFromModel(LogisticRegression(solver="liblinear",penalty='l2',C=1),max_features=9),
- .....,
- SelectFromModel(LogisticRegression(solver="liblinear",penalty='l2',C=1),max_features=18),
- PCA(n_components=9,random_state=17),
- .....,
- PCA(n_components=18,random_state=17)],
- 'classifier__alpha':[0.1,1.0,10,100],
- 'classifier__l1_ratio':[0,0.25,0.5,0.75,1]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement