Description
Train the system based on user actions (moving email from spam to inbox should mark as ham and trigger retraining).
Location
backend/routes/feedbackRoutes.js (add training endpoint), frontend/src/components/EmailScannerDashboard.jsx
Proposed Solution
implement a feedback-based scoring system that:
Tracks user feedback (spam/ham corrections)
Adjusts confidence scores based on feedback
Uses simple heuristics to improve predictions.
Description
Train the system based on user actions (moving email from spam to inbox should mark as ham and trigger retraining).
Location
backend/routes/feedbackRoutes.js (add training endpoint), frontend/src/components/EmailScannerDashboard.jsx
Proposed Solution
implement a feedback-based scoring system that:
Tracks user feedback (spam/ham corrections)
Adjusts confidence scores based on feedback
Uses simple heuristics to improve predictions.