finally made the fs work within class and without
This commit is contained in:
parent
4a9e9dfedf
commit
39cd7b4259
3 changed files with 95 additions and 110 deletions
|
@ -25,6 +25,7 @@ X_eg, y_eg = make_classification(n_samples=1000,
|
|||
|
||||
pipe = Pipeline([('scaler', StandardScaler()),
|
||||
('selector', SelectKBest(mutual_info_classif, k=9)),
|
||||
|
||||
('classifier', LogisticRegression())])
|
||||
|
||||
search_space = [{'selector__k': [5, 6, 7, 10]},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue