Skip to main content

Scalable spatiotemporal prediction with Bayesian neural fields

Project description

bayesnf

Unittests PyPI version

This is not an officially supported Google product.

Spatially referenced time series (i.e., spatiotemporal) datasets are ubiquitous in scientific, engineering, and business-intelligence applications. Good models of spatial processes that vary over time must be both flexible enough to capture complex statistical dynamics and scalable enough to handle large datasets. This work presents the Bayesian Neural Field - a novel spatiotemporal modeling method that integrates hierarchical probabilistic modeling for accurate uncertainty estimation with deep neural networks for high-capacity function approximation.

Bayesian Neural Fields infer joint probability distributions over field values at arbitrary points in time and space, which makes the model suitable for many data-analysis tasks including spatial interpolation, temporal forecasting, and variography. Posterior inference is conducted using variationally learned surrogates trained via mini-batch stochastic gradient descent for handling large-scale data.

Installation

bayesnf may be installed using

python -m pip install .

Typical install time is 1 minute.

The library directly depends on the following software (which will be automatically installed as well):

flax
jax>=0.4.6
jaxtyping
numpy
optax
pandas
tensorflow-probability[jax]>=0.19.0

It has been tested on Python 3.9. Experiments were run using TPU accelerators.

Quick start

TODO(colcarroll)

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

bayesnf-0.1.0.tar.gz (627.7 kB view details)

Uploaded Source

Built Distribution

bayesnf-0.1.0-py3-none-any.whl (633.1 kB view details)

Uploaded Python 3

File details

Details for the file bayesnf-0.1.0.tar.gz.

File metadata

  • Download URL: bayesnf-0.1.0.tar.gz
  • Upload date:
  • Size: 627.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for bayesnf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6243c005d27fef389644a96ab5609637d26a774d6a1f94cc4c6b84d65a95d812
MD5 37989ce9118013fd8dd1c94659a01afc
BLAKE2b-256 1a427b403238c6f997aa72babd9966b58536fed2d528fe214bc8781c8317fb1c

See more details on using hashes here.

File details

Details for the file bayesnf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bayesnf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 633.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for bayesnf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4897efdf618dfc8cf42dd905a60f5903307335aba5c7b50971717cab8e571073
MD5 30add444322142998342632d3abd8b9b
BLAKE2b-256 deac4d20fe45f6e2eb9a94ad4bf12cafd1f0c7d320f5277ca3f68339342d5e38

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