Published March 22, 2025 | Version v0.4.1

forecast-tools

Authors/Creators

  • 1. University of Exeter

Description

Changed

  • All point forecast metrics now validate inputs and raise ValueError or TypeError when y_true and y_pred do not meet specifications
  • mean_absolute_percentage_error and symmetric_mean_absolute_percentage_error now raise user warnings when values are close to zero. i.e. inflation of metrics can occur.

Fixed

  • PATCH: point forecast metrics can now handle edge case where y_true and y_pred inputs are different data types (e.g. pd.Series and np.array). Prior to v0.4.1 this generated an incorrect metric.

Notes

If you use this software, please cite it using the metadata from this file.

Files

TomMonks/forecast-tools-v0.4.1.zip

Files (911.3 kB)

Name Size Download all
md5:9e7dac47481e49bc63c16b91d4357ab3
911.3 kB Preview Download

Additional details

Related works