Conditions | 1 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | finetuned_opt = OptPipe([("first", FooOpt())("second", BarOpt(params))], more_params) |
||
12 | def transform(self, data): |
||
13 | numeric = self.columns(["age", "income"]).apply(StandardScaler()) |
||
14 | categorical = self.columns(["gender", "city"]).apply(OneHotEncoder()) |
||
15 | combined = self.concat(numeric, categorical) |
||
16 | return combined.then(SVC()) |
||
17 | |||
36 |