winedarksea / AutoTS

Automated Time Series Forecasting
MIT License
1.1k stars 100 forks source link

Update auto_ts.py add absolute value in the MAPE formula #217

Closed jxtrbtk closed 9 months ago

jxtrbtk commented 9 months ago

I think the MAPE metric cannot be negative. The formula takes absolute value. Added abs() to fix that.

Changes

Relevant Issues and Mentions

winedarksea commented 9 months ago

I instead updated the scaler which is the better way of making this fix, see commit 0.6.6 a2. I also added a note that this mape calculation isn't intended to collect proper model results, this is merely a shortcut used for creating some of the visualizations as generalizations.

jxtrbtk commented 9 months ago

Fine, thank you !