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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ecd2bf211b4da0de0bf87e1e2002d8d68dd208a70216674025e3e2e1293f3cb
|
|
| MD5 |
a56fc6a9322ecbf966bc134ee81559dd
|
|
| BLAKE2b-256 |
0fd790f9a67cef8cab48e85ead69758e45e7cf85c6f78ce9e377501b54e8d6c3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
keras_neural_processes-0.1.0.tar.gz -
Subject digest:
2ecd2bf211b4da0de0bf87e1e2002d8d68dd208a70216674025e3e2e1293f3cb - Sigstore transparency entry: 1938523814
- Sigstore integration time:
-
Permalink:
sidchaini/keras-neural-processes@ec0f4dde4dc15a2b845529e6de8e66b1f0d62b18 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/sidchaini
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@ec0f4dde4dc15a2b845529e6de8e66b1f0d62b18 -
Trigger Event:
release
-
Statement type:
File details
Details for the file keras_neural_processes-0.1.0-py3-none-any.whl.
File metadata
- Download URL: keras_neural_processes-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e7687bf217116be9159743c797a6a7f9f4a1abf31a3d2b0461eb0f4b29007c2
|
|
| MD5 |
9fe2f936f2a03dcfc08f5e7ddf9431f0
|
|
| BLAKE2b-256 |
7f1bcb27a46f0b66de8cc457c9fcb22393c61cd67f9791574daf18fee7b1b3c8
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
keras_neural_processes-0.1.0-py3-none-any.whl -
Subject digest:
9e7687bf217116be9159743c797a6a7f9f4a1abf31a3d2b0461eb0f4b29007c2 - Sigstore transparency entry: 1938523965
- Sigstore integration time:
-
Permalink:
sidchaini/keras-neural-processes@ec0f4dde4dc15a2b845529e6de8e66b1f0d62b18 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/sidchaini
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@ec0f4dde4dc15a2b845529e6de8e66b1f0d62b18 -
Trigger Event:
release
-
Statement type: