Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. param_grid = {'preprocessing': [MinMaxScaler(),
  2. QuantileTransformer(output_distribution="uniform",n_quantiles=20)],
  3. 'feature_selection':[SelectFromModel(LogisticRegression(solver="liblinear",penalty='l2',C=1),max_features=9),
  4. .....,
  5. SelectFromModel(LogisticRegression(solver="liblinear",penalty='l2',C=1),max_features=18),
  6. PCA(n_components=9,random_state=17),
  7. .....,
  8. PCA(n_components=18,random_state=17)],
  9. 'classifier__alpha':[0.1,1.0,10,100],
  10. 'classifier__l1_ratio':[0,0.25,0.5,0.75,1]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement