Skip to main content

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.

Metadata

Release files for PyForecastTools 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyForecastTools 1.1.1
File Size Uploaded
PyForecastTools-1.1.1.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyForecastTools 1.1.1
File Interpreter ABI Platform
PyForecastTools-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.2 kB

Release files / PyForecastTools-1.1.1.tar.gz

Download URL PyForecastTools-1.1.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
20896c6c009c55756f3b60b09b70cba0b2f28497c39f4beaac7da344f9f7542d
BLAKE2b-256 checksum
How to use checksums
c803a32f15c35ef240d40e1e7d54651c7f7f574e5edca1c4b6998e8e5b6c35c1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / PyForecastTools-1.1.1-py3-none-any.whl

Download URL PyForecastTools-1.1.1-py3-none-any.whl
Size 26.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44f8ff6a9c01887fe592e7b801947a40748d733ad44632b495b2dcc14d9f15d5
BLAKE2b-256 checksum
How to use checksums
a3c0d290366b6792e8560b58d295f826a4ed9a287f5c4524cefd7e77180b6ddd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page