Skip to main content

Model validation and forecast verification tools

Project description

PyForecastTools

DOI Build Status

A Python module to provide model validation and forecast verification tools, including a set of convenient plot functions. A selection of capabilites provided by PyForecastTools includes:

  • Accuracy and bias metrics for continuous predictands
    • Unscaled/absolute measures
    • Relative measures
    • Scaled measures
  • 2x2 and NxN contingency table classes
    • Wide range of contingency table metrics and scores
    • Multiple methods of calculating confidence intervals on scores
  • Convenient plotting for visually comparing models and data
    • Quantile-Quantile plots
    • Taylor diagrams
    • ROC curves
    • Reliability diagrams

The module builds on the scientific Python stack (Python, Numpy, MatPlotLib) and uses the dmarray class from SpacePy's datamodel.

SpacePy is available through the Python Package Index, MacPorts, and is under version control at github.com/spacepy/spacepy If SpacePy is not available a reduced functionality implementation of the class is provided with this package.

PyForecastTools is available through the Python Package Index and can be installed simply with

pip install PyForecastTools --user

To install (local user), run

python setup.py install --user

After installation, the module can then be imported (within a Python script or interpreter) by

import verify

For help, please see the docstrings for each function and/or class.

Additional documentation is under development using Github pages at drsteve.github.io/PyForecastTools, and source for this is in the docs folder.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyForecastTools-1.1.1.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

PyForecastTools-1.1.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file PyForecastTools-1.1.1.tar.gz.

File metadata

  • Download URL: PyForecastTools-1.1.1.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for PyForecastTools-1.1.1.tar.gz
Algorithm Hash digest
SHA256 20896c6c009c55756f3b60b09b70cba0b2f28497c39f4beaac7da344f9f7542d
MD5 5500fc15b7b7eea28498fff498d1e79a
BLAKE2b-256 c803a32f15c35ef240d40e1e7d54651c7f7f574e5edca1c4b6998e8e5b6c35c1

See more details on using hashes here.

File details

Details for the file PyForecastTools-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: PyForecastTools-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for PyForecastTools-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44f8ff6a9c01887fe592e7b801947a40748d733ad44632b495b2dcc14d9f15d5
MD5 dd3376988f06ff9eb63c9309055d8fa2
BLAKE2b-256 a3c0d290366b6792e8560b58d295f826a4ed9a287f5c4524cefd7e77180b6ddd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page