SpRCom
sprcom stands for Spatial Regression of Communities and is a statistical package designed to streamline the interpretation and modeling of very high dimensional binary and count-valued data. The underlying model assumes a low-dimensional latent structure via communities or clusters that leads to a parsimonious model. sprcom can also account for the dependence of these communities on covariates! A number of utility and plotting functions are included to help visualize your results. sprcom is a wrapper for a PyMC3 model and you can use any PyMC3 estimation method with it including Hamiltonian Monte Carlo and ADVI.
covariates, response, adjacency = load_data(...)
n_communities = 5
model = spatial_community_regression(covariates, response, adjacency,n_communities)
with model:
trace = pm.sample()
...
We've included documentation to help you get up and running. Check out the florabank1-tutorial notebook for more details!
For questions or comments please contact Christopher Krapu at ckrapu@gmail.com.
Metadata
Release files for sprcom 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sprcom-0.2.tar.gz | 1.8 kB | Without provenance | Details for sprcom-0.2.tar.gz |
Release files / sprcom-0.2.tar.gz
| Download URL | sprcom-0.2.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10f38d0ddedb457881a459078fe602f3cc4850ac3cca90a7a0f3907d3243d31c
|
|
BLAKE2b-256 checksum How to use checksums |
1d9f08c1528779fed16358f3ffc9cb5d67268bc4bc3acb158586c7c8d5c1803d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.9
|
Security for sprcom 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.