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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file b4tf-1.1.2.tar.gz.

File metadata

  • Download URL: b4tf-1.1.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for b4tf-1.1.2.tar.gz
Algorithm Hash digest
SHA256 07e9f431ea3b4dfc4ab371f1537e434e382930af4946d3cc41f12c845f402a73
MD5 4c49d4c7a749a093a47638c3eedfca97
BLAKE2b-256 bdbdcbf83a2b8357398ceb98446f62e64fc9afddd95ede47804b3cd714f45149

See more details on using hashes here.

File details

Details for the file b4tf-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: b4tf-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for b4tf-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20a121db94c1fb4c8ee9dfe5ab7420635503ca1ce0f23d530ef109e497e8cc18
MD5 d91e1f2847631e0616e8b2d6fc201022
BLAKE2b-256 5f618dddc1ab5a49f5cc4eb8da81f42b4735e4b2da5607645207e7306ccca289

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