Skip to main content

Package for implementing bayesian deep conjugate models in python.

Project description

MIT License

Copyright (c) 2020 James Montgomery

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description: # Lind

A short description.

### Authors

James Montgomery - Initial Work - [jamesmontgomery.us](http://jamesmontgomery.us)

### License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Installing

For a local installation, first git clone this repository. Then follow these instructions:

` pip install . `

To install from [pypi](https://pypi.org/):

` pip install -U lind `

To install the package with test dependencies add [“tests”] to the install command:

` pip install .["tests"] # or pip install -U lind["tests"] `

## Testing

Testing is an important part of creating maintainable, production grade code. Below are instructions for running unit and style tests as well as installing the necessary testing packages. Tests have intentionally been separated from the installable pypi package for a variety of reasons.

Make sure you have the required testing packages:

` pip install -r requirements_test.txt `

To install the project with test dependencies see the install section.

### Running the unit tests

We use the pytest framework for unit testing.

` pytest -vvl -s --cov lind --disable-pytest-warnings `

### Running the style tests

Having neat and legible code is important. Having documentation is also important. We use pylint as our style guide framework. Many of our naming conventions follow directly from the literary sources they come from. This makes it easier to read the mathematical equations and see how they translate into the code. This sometimes forces us to break pep8 conventions for naming.

` pylint lind --disable=invalid-name `

## Contributor’s Guide

Here are some basic guidelines for contributing.

### Branch Strategy

This repository doesn’t use a complicated branching strategy. Simply create a feature branch off of master. When the feature is ready to be integrated with master, submit a pull request. A pull request will re quire at least one peer review and approval from the repository owner.

### Style Guide

Please stick to pep8 standards when for your code. Use numpy style docstrings.

### Test Requirements

Please use pytest as your testing suite. You code should have >= 80% coverage.

### Updating the Docs

Updating the documentation is simple. First, let auto-docs check for updates to the package structure.

` cd docs make html `

## Acknowledgments

People to acknowledge.

## TODO

Features to be added / change / fixed.

## Useful Resources

Useful resources for understanding the package.

Platform: any Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Requires-Python: >=3.6 Description-Content-Type: text/markdown Provides-Extra: tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lind-0.0.14.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

lind-0.0.14-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file lind-0.0.14.tar.gz.

File metadata

  • Download URL: lind-0.0.14.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for lind-0.0.14.tar.gz
Algorithm Hash digest
SHA256 6664c9a556060277cc89310ef5fa5b163a40098417d46cacaf4ef1461e4cabd4
MD5 f1ec5e24cec0c922736859c47c0ba0cb
BLAKE2b-256 f1abfe75a102e2e6331955af5366b95c68cfefc0be92c535ab6c710f2c5a3a13

See more details on using hashes here.

File details

Details for the file lind-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: lind-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for lind-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 da8b2312fa784e04e2f62c7427bfe4e1c7143a7cebcf879d50541e638ad3e4e8
MD5 04a52cbd22d36181ca201f806bd5439e
BLAKE2b-256 a390fbd7818013c70c436777c101a0e56904f54f4313b4060b09ef3ad66360f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page