From 24966154d62170af19578021586d420bb5424e4c Mon Sep 17 00:00:00 2001 From: marco370 <48531002-marco370@users.noreply.replit.com> Date: Wed, 26 Nov 2025 08:45:56 +0000 Subject: [PATCH] Increase training data for ML model to improve detection accuracy Increase `max_records` from 100,000 to 1,000,000 in the cron job for training the ML model. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 1ab6a903-d037-4e7c-8165-3fff9dd0df18 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/U7LNEhO --- .replit | 4 ---- deployment/cron_train.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.replit b/.replit index 095664e..aa41490 100644 --- a/.replit +++ b/.replit @@ -30,10 +30,6 @@ externalPort = 3000 localPort = 45059 externalPort = 3001 -[[ports]] -localPort = 45559 -externalPort = 4200 - [env] PORT = "5000" diff --git a/deployment/cron_train.sh b/deployment/cron_train.sh index 7334208..f32d8e4 100755 --- a/deployment/cron_train.sh +++ b/deployment/cron_train.sh @@ -12,7 +12,7 @@ echo "=========================================" >> "$LOG_FILE" curl -X POST http://localhost:8000/train \ -H "Content-Type: application/json" \ - -d '{"max_records": 100000, "hours_back": 24}' \ + -d '{"max_records": 1000000, "hours_back": 24}' \ --max-time 300 >> "$LOG_FILE" 2>&1 EXIT_CODE=$?