File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
ads/opctl/operator/lowcode Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,8 @@ def _ingest_data(self, spec):
36
36
self .X_valid_dict = dict ()
37
37
self .y_valid_dict = dict ()
38
38
for s_id , df in self .get_dict_by_series ().items ():
39
- print (df , spec .target_column )
40
- self .X_valid_dict [s_id ] = df .drop ([spec .target_column ], axis = 1 )
41
- self .y_valid_dict [s_id ] = df [spec .target_column ]
39
+ self .X_valid_dict [s_id ] = df .drop ([OutputColumns .ANOMALY_COL ], axis = 1 )
40
+ self .y_valid_dict [s_id ] = df [OutputColumns .ANOMALY_COL ]
42
41
43
42
44
43
class AnomalyDatasets :
Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ def _build_model(self) -> pd.DataFrame:
92
92
93
93
# Clean up kwargs for pass through
94
94
model_kwargs_cleaned = self .set_kwargs ()
95
- time_budget = model_kwargs_cleaned .pop ("time_budget" , 0 )
96
- print (f"found time_budget: { time_budget } " )
95
+ time_budget = model_kwargs_cleaned .pop ("time_budget" , - 1 )
97
96
98
97
for i , (s_id , df ) in enumerate (full_data_dict .items ()):
99
98
try :
You can’t perform that action at this time.
0 commit comments