File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ def trial_filter(task):
5252 return [
5353 # "xgboost-base",
5454 # "ebm-base",
55- "aplr-01" ,
56- "aplr-03" ,
5755 "aplr-base" ,
5856 ]
5957
@@ -138,30 +136,6 @@ def trial_runner(trial):
138136 )
139137 y_train = y_train .astype (str ).ravel ()
140138 y_test = y_test .astype (str ).ravel ()
141- elif trial .method .name == "aplr-01" :
142- est = Pipeline (
143- [
144- ("ct" , ct ),
145- (
146- "est" ,
147- APLRClassifier (v = 0.1 ),
148- ),
149- ]
150- )
151- y_train = y_train .astype (str ).ravel ()
152- y_test = y_test .astype (str ).ravel ()
153- elif trial .method .name == "aplr-03" :
154- est = Pipeline (
155- [
156- ("ct" , ct ),
157- (
158- "est" ,
159- APLRClassifier (v = 0.3 ),
160- ),
161- ]
162- )
163- y_train = y_train .astype (str ).ravel ()
164- y_test = y_test .astype (str ).ravel ()
165139 else :
166140 raise RuntimeError (f"Method unavailable for { trial .method .name } " )
167141
@@ -181,26 +155,6 @@ def trial_runner(trial):
181155 ),
182156 ]
183157 )
184- elif trial .method .name == "aplr-01" :
185- est = Pipeline (
186- [
187- ("ct" , ct ),
188- (
189- "est" ,
190- APLRRegressor (v = 0.1 ),
191- ),
192- ]
193- )
194- elif trial .method .name == "aplr-03" :
195- est = Pipeline (
196- [
197- ("ct" , ct ),
198- (
199- "est" ,
200- APLRRegressor (v = 0.3 ),
201- ),
202- ]
203- )
204158 else :
205159 raise RuntimeError (f"Method unavailable for { trial .method .name } " )
206160
You can’t perform that action at this time.
0 commit comments