Skip to main content

torchtree-scipy

Testing

About torchtree-scypi

torchtree-scipy is a package that enhances the functionalities of torchtree by incorporating additional features from SciPy.

Dependencies

Installation

Installing from source

git clone https://github.com/4ment/torchtree-scipy
pip install torchtree-scipy/

Installing latest stable version

You can install torchtree-scipy and its dependencies from PyPI with:

pip install torchtree-scipy

Check install

If the installation was succesfull, this command should print the version of the torchtree_scipy library

python -c "import torchtree_scipy;print(torchtree_scipy.__version__)"

Command line arguments

The torchtree-scipy plugin adds these arguments to the torchtree CLI:

torchtree-cli advi --help
  ...
  --scipy_gamma_site    use the GammaSiteModel implemented with scipy

Features

Discrete gamma site model

This model implements the discretized gamma distribution to model rate heterogeity accross sites. The gradient of this model with respect to the shape parameter is calculated numerically using finite differences. The easiest way to use this model is to use the argument --scipy_gamma_site. This sets the type of the site model to torchtree_scipy.GammaSiteModel in the JSON configuration file. The default step size is epsilon=1.0e-6 but it can be changed manually in the JSON file.

License

Distributed under the GPLv3 License. See LICENSE for more information.

Acknowledgements

torchtree-scipy makes use of the following libraries and tools, which are under their own respective licenses:

Metadata

Release files for torchtree-scipy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchtree-scipy 1.0.0
File Size Uploaded Provenance Actions
torchtree-scipy-1.0.0.tar.gz 16.6 kB Without provenance Details for torchtree-scipy-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for torchtree-scipy 1.0.0
File Interpreter ABI Platform Actions
torchtree_scipy-1.0.0-py3-none-any.whl Python 3 none any Details for torchtree_scipy-1.0.0-py3-none-any.whl

Total release size: 33.5 kB

Release files / torchtree-scipy-1.0.0.tar.gz

Download URL torchtree-scipy-1.0.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
76c8b66e9c2526d010644490e9f75234e2d3fa4d72c3b057fb643cfc354bd93f
BLAKE2b-256 checksum
How to use checksums
8764128e0c4c15d21f2c1b5371f1b38609f1a89611f1d2cd860c5754ab196a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Release files / torchtree_scipy-1.0.0-py3-none-any.whl

Download URL torchtree_scipy-1.0.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7f0bf1ebfe2d2672e43252cd202d0578754040054ec74eef684c01b0dc8580c
BLAKE2b-256 checksum
How to use checksums
4257584fc9c20b3a1fc9059166295087096d6960448e7dbf6e15711c640c1bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Security for torchtree-scipy 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page