ymd-h / b4tf

Mirror Repository of https://gitlab.com/ymd_h/b4tf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bayes Neural Network for TensorFlow (b4tf)

https://img.shields.io/gitlab/pipeline/ymd_h/b4tf.svg https://img.shields.io/pypi/v/b4tf.svg https://img.shields.io/pypi/l/b4tf.svg https://img.shields.io/pypi/status/b4tf.svg https://gitlab.com/ymd_h/b4tf/badges/master/coverage.svg

./site/static/images/logo.png

1 Overview

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

2 Installation

b4tf requires following softwares before installation

2.1 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.

2.2 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 .

3 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)

4 Contributing to b4tf

Any contribution are very welcome!

4.1 Making Community Larger

Bigger commumity makes development more active and improve b4tf.

4.2 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.

4.3 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.

5 Links

5.1 b4tf sites

6 Lisence

b4tf is available under MIT lisence.

About

Mirror Repository of https://gitlab.com/ymd_h/b4tf

License:MIT License


Languages

Language:Python 88.4%Language:CSS 8.3%Language:HTML 1.0%Language:JavaScript 1.0%Language:Dockerfile 0.9%Language:Emacs Lisp 0.6%