diff --git a/python_ml/train_hybrid.py b/python_ml/train_hybrid.py index 78fc009..575b785 100644 --- a/python_ml/train_hybrid.py +++ b/python_ml/train_hybrid.py @@ -41,7 +41,7 @@ def train_on_real_traffic(db_config: dict, days: int = 7) -> pd.DataFrame: packet_length, action FROM network_logs - WHERE timestamp > NOW() - INTERVAL '%s days' + WHERE timestamp > NOW() - INTERVAL '1 day' * %s ORDER BY timestamp DESC LIMIT 1000000 """