supirfactor-dynamical
This is a PyTorch model package for creating dynamical, biophysical models of transcriptional output and regulation.
Installation
Install this package using the standard python package manager python -m pip install supirfactor_dynamical.
It depends on PyTorch and the standard python scientific computing
packages (e.g. scipy, numpy, pandas).
Usage
from supirfactor_dynamical import (
SupirFactorBiophysical
)
# Construct model object
model = SupirFactorBiophysical(
prior_network, # Prior knowledge connectivity network [Genes x TFs]
output_activation='softplus' # Use softplus activation for transcriptional model output
)
# Set prediction parameter
model.set_time_parameters(
n_additional_predictions=10 # Make forward predictions in time during training
)
# Train model
model.train_model(
training_dataloader, # Training data in a torch DataLoader
500 # Epochs
)
# Save model
model.save("supirfactor_dynamical.h5")
Examples containing data loading, hyperparameter searching, and result testing are located in ./scripts/
Metadata
Release files for supirfactor-dynamical 1.1.0
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 |
|---|---|---|---|---|
| supirfactor_dynamical-1.1.0.tar.gz | 74.1 kB | Without provenance | Details for supirfactor_dynamical-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| supirfactor_dynamical-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for supirfactor_dynamical-1.1.0-py3-none-any.whl |
Total release size: 180.4 kB
Release files / supirfactor_dynamical-1.1.0.tar.gz
| Download URL | supirfactor_dynamical-1.1.0.tar.gz |
|---|---|
| Size | 74.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99bd34a962c0e5a06e325086f75d4616c10474c4fea9680808bcffae0d7f4116
|
|
BLAKE2b-256 checksum How to use checksums |
7ddcbdc75c14e86489e0f13439900466874540455cf4570520b46156e3a891ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / supirfactor_dynamical-1.1.0-py3-none-any.whl
| Download URL | supirfactor_dynamical-1.1.0-py3-none-any.whl |
|---|---|
| Size | 106.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2270103e22aaa21a3d287709256956e48c93685f210a5b7e1cb2328107f8f5c7
|
|
BLAKE2b-256 checksum How to use checksums |
f61d475a91f484f87dbed2cbfde31b1abd85a8f4df49db9dc18292251a9f8fd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for supirfactor-dynamical 1.1.0
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.