Skip to content

Commit

Permalink
Update val.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunting78 authored Nov 19, 2024
1 parent d339e2c commit 3ef6aa7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/val.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def main(args):

if dataset.get('scale', False):
scaler_cols = info_params['target_cols']
scaler.fit(df[scaler_cols])
df[scaler_cols] = scaler.transform(df[scaler_cols])
ts_val = TSDataset.load_from_dataframe(df, **info_params)
elif cfg.task == 'anomaly':
Expand Down

0 comments on commit 3ef6aa7

Please sign in to comment.