https://github.com/4ment/torchtree-tensorflow
https://github.com/4ment/torchtree-tensorflow
phylogenetics pytorch tensorflow torchtree
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/4ment/torchtree-tensorflow
- Owner: 4ment
- License: gpl-3.0
- Created: 2022-05-11T09:38:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T01:52:32.000Z (over 2 years ago)
- Last Synced: 2024-12-27T04:42:25.265Z (over 1 year ago)
- Topics: phylogenetics, pytorch, tensorflow, torchtree
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# torchtree-tensorflow
[](https://github.com/4ment/torchtree-tensorflow/actions/workflows/python-package.yml)
`torchtree-tensorflow` is a package that enhances the functionalities of [torchtree] by incorporating additional features from [tensorflow].
## Dependencies
- [torchtree]
- [tensorflow]
## Installation
### Installing from source
```bash
git clone https://github.com/4ment/torchtree-scipy
pip install torchtree-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 with automatic differentiation.
In order to use this model the type of the site model must be changed to `torchtree_scipy.GammaSiteModel` in the JSON configuration file.
## License
Distributed under the GPLv3 License. See [LICENSE](LICENSE) for more information.
## Acknowledgements
torchtree-scipy makes use of the following libraries and tools, which are under their own respective licenses:
- [PyTorch]
- [tensorflow]
- [torchtree]
[PyTorch]: https://pytorch.org
[torchtree]: https://github.com/4ment/torchtree
[tensorflow]: https://github.com/tensorflow/tensorflow