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):
3636 self .X_valid_dict = dict ()
3737 self .y_valid_dict = dict ()
3838 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 ]
4241
4342
4443class AnomalyDatasets :
Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ def _build_model(self) -> pd.DataFrame:
9292
9393 # Clean up kwargs for pass through
9494 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 )
9796
9897 for i , (s_id , df ) in enumerate (full_data_dict .items ()):
9998 try :
You can’t perform that action at this time.
0 commit comments