Git Product home page Git Product logo

safeai's Introduction

SafeAI: Predictive Uncertainty DL Models

EpiSci CircleCI Maintainability Test Coverage
python tensorflow PyPI version shields.io GitHub

Reusable, easy-to-use tensorflow uncertainty module package.
Under active development.

Predictive Uncertainty in Deep Learning Models:

Considering deep learning workflow, uncertainty plays a critical role when applying in real applications and is essential property in a safety issue. Autonomous driving, robotics, or critical decision-making, for instance, such domains are especially caring for safety which is uncertainty in deep learning.

Recently, plenty of researches related to uncertainty is actively ongoing. In this project, we leverage TensorFlow to additionally model uncertainty in standard deep learning architectures. Essentially, we focus on reusability and easy-to-use that only least numbers of parameters are necessary to run target functions.

Installation

# Install using pip
$ pip install safeai

# Or, install from source:
$ git clone https://github.com/EpiSci/SafeAI &&\
$ cd SafeAI && pip install -e .

Tensorflow, Python version

Currently, SafeAI is being developed and tested with tensorflow version 1.10, under both python version 3.6 and 2.7.

SafeAI models

SafeAI models are implemented -- [introducing overall concept of our code.]

import tensorflow as tf
from safeai.models import confident_classifier

MESSAGE = "And Short, intuitive sample code goes here"

Run other examples & test code

Every python code in SafeAI was not meant to be directly run as a single script. Please have them executed as a module, with -m flag for testing and running the examples in the project.
Also they need to be run from project root folder, not at examples/ directory, nor safeai/tests/.

# Clone project, cd into project, install dependencies
$ git clone https://github.com/EpiSci/SafeAI &&\
$ cd SafeAI && pip install -e .

# To run the example:
$ python -m examples.[script name without '.py'] # e.g.) python -m examples.joint_confident

# To execute all tests
$ python -m unittest discover

List of predictive uncertainty models available:

Contribute to project:

We appreciate your interest in this project!
Before making an issue, please consider reading Our contribution guideline.

safeai's People

Contributors

2sang avatar hanbumko avatar leedoyup avatar limbbogit avatar tegg89 avatar zoom11jc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.