Unverified Commit 4ffedd7c authored by Claude's avatar Claude
Browse files

Implement proper MAPE and accuracy calculation methods

- Created calculate_mape() function using proper MAPE formula:
  MAPE = (1/n) * Σ(|actual - predicted| / |actual|) * 100

- Created calculate_accuracy() function using total error ratio:
  Accuracy = (1 - Σ|actual - predicted| / Σactual) * 100

- Updated calculate_results() to store raw actual and predicted values
- Use proper calculation methods instead of shortcuts
- Updated template to accurately describe the metrics
parent b34b8ff6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment