Skip to main content

Neural processes (CNP, NP, ANP) in Keras with ragged-tensor support for sparse, irregular time series

Project description

keras-neural-processes (knp)

Neural processes in Keras for sparse, irregular, variable-length time series (ragged tensors).

We have implemented three model flavors:

Class Paper Aggregation Latent path
CNP (Garnelo et al. 2018a) mean no
NP (Garnelo et al. 2018b) mean yes
ANP (Kim et al. 2019) self + cross attention yes

For more details about this implementation, please refer to (Chaini et. al. 2026). For the repository on application to astronomical light curves, refer to NightLANP.

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

keras_neural_processes-0.1.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keras_neural_processes-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: keras_neural_processes-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for keras_neural_processes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2ecd2bf211b4da0de0bf87e1e2002d8d68dd208a70216674025e3e2e1293f3cb
MD5 a56fc6a9322ecbf966bc134ee81559dd
BLAKE2b-256 0fd790f9a67cef8cab48e85ead69758e45e7cf85c6f78ce9e377501b54e8d6c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for keras_neural_processes-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on sidchaini/keras-neural-processes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for keras_neural_processes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7687bf217116be9159743c797a6a7f9f4a1abf31a3d2b0461eb0f4b29007c2
MD5 9fe2f936f2a03dcfc08f5e7ddf9431f0
BLAKE2b-256 7f1bcb27a46f0b66de8cc457c9fcb22393c61cd67f9791574daf18fee7b1b3c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for keras_neural_processes-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on sidchaini/keras-neural-processes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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