Skip to main content

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.

Metadata

Release files for b4tf 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for b4tf 1.1.2
File Size Uploaded
b4tf-1.1.2.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for b4tf 1.1.2
File Interpreter ABI Platform
b4tf-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 25.7 kB

Release files / b4tf-1.1.2.tar.gz

Download URL b4tf-1.1.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
07e9f431ea3b4dfc4ab371f1537e434e382930af4946d3cc41f12c845f402a73
BLAKE2b-256 checksum
How to use checksums
bdbdcbf83a2b8357398ceb98446f62e64fc9afddd95ede47804b3cd714f45149
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / b4tf-1.1.2-py3-none-any.whl

Download URL b4tf-1.1.2-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20a121db94c1fb4c8ee9dfe5ab7420635503ca1ce0f23d530ef109e497e8cc18
BLAKE2b-256 checksum
How to use checksums
5f618dddc1ab5a49f5cc4eb8da81f42b4735e4b2da5607645207e7306ccca289
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.1

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page