Skip to main content

Bayian Neural Network for TensorFlow

Project description

img img img img img

img

Overview

b4tf is a Python module providing a set of bayesian neural network on TensorFlow.

Installation

b4tf requires following softwares before installation

Install from PyPI (Recommended)

The following command installs b4tf together with other dependancies.

pip install b4tf

Depending on your environment, you might need sudo or --user flag for installation.

Install from source code

First, download source code manually or clone the repository;

git clone https://gitlab.com/ymd_h/b4tf.git

Then you can install same way;

cd b4tf
pip install .

Implemented Algorithms

Currently, b4tf implements following algorithms. We will implement more.

  • Probabilistic Backpropagation (PBP) (Paper, Doc, API)
  • Monte Carlo Batch Normalization (MCBN) (Paper, Doc, API)

Contributing to b4tf

Any contribution are very welcome!

Making Community Larger

Bigger commumity makes development more active and improve b4tf.

Report Issue

When you have any problems or requests, you can check issues on GitLab.com. If you still cannot find any information, you can open your own issue.

Merge Request (Pull Request)

b4tf follows local rules:

  • Branch Name
    • "HotFix***" for bug fix
    • "Feature***" for new feature implementation
  • docstring
  • Unit Test
    • Put test code under "test/" directory
    • Can test by python -m unittest <Your Test Code> command
    • Continuous Integration on GitLab CI configured by .gitlab-ci.yaml
  • Open an issue and associate it to Merge Request

Step by step instruction for beginners is described at here.

Links

b4tf sites

Lisence

b4tf is available under MIT lisence.

MIT License

Copyright (c) 2020 Yamada Hiroyuki

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.

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

b4tf-1.1.2.tar.gz (13.5 kB view hashes)

Uploaded Source

Built Distribution

b4tf-1.1.2-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

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