All Projects → EpiSci → SafeAI

EpiSci / SafeAI

Licence: MIT license
Reusable, Easy-to-use Uncertainty module package built with Tensorflow, Keras

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SafeAI

DUN
Code for "Depth Uncertainty in Neural Networks" (https://arxiv.org/abs/2006.08437)
Stars: ✭ 65 (+400%)
Mutual labels:  uncertainty, bayesian-neural-networks
spatial-smoothing
(ICML 2022) Official PyTorch implementation of “Blurs Behave Like Ensembles: Spatial Smoothings to Improve Accuracy, Uncertainty, and Robustness”.
Stars: ✭ 68 (+423.08%)
Mutual labels:  uncertainty, bayesian-neural-networks
BGCN
A Tensorflow implementation of "Bayesian Graph Convolutional Neural Networks" (AAAI 2019).
Stars: ✭ 129 (+892.31%)
Mutual labels:  bayesian-neural-networks
cnn-rnn-classifier
A practical example on how to combine both a CNN and a RNN to classify images.
Stars: ✭ 47 (+261.54%)
Mutual labels:  classification
mtomo
Multiple types of NN model optimization environments. It is possible to directly access the host PC GUI and the camera to verify the operation. Intel iHD GPU (iGPU) support. NVIDIA GPU (dGPU) support.
Stars: ✭ 24 (+84.62%)
Mutual labels:  models
ForEx
Using ML to create a ForEx trader to invest my personal finances to get rid of student debt
Stars: ✭ 17 (+30.77%)
Mutual labels:  models
quake authmdl
Authentic Model Improvements for Quake
Stars: ✭ 44 (+238.46%)
Mutual labels:  models
torchgeo
TorchGeo: datasets, samplers, transforms, and pre-trained models for geospatial data
Stars: ✭ 1,125 (+8553.85%)
Mutual labels:  models
Relation-Classification
Relation Classification - SEMEVAL 2010 task 8 dataset
Stars: ✭ 46 (+253.85%)
Mutual labels:  classification
kex
ORM-less for Knex
Stars: ✭ 17 (+30.77%)
Mutual labels:  models
dzetsaka
dzetsaka : classification plugin for Qgis
Stars: ✭ 61 (+369.23%)
Mutual labels:  classification
dsge
Course on Dynamic Stochastic General Equilibrium (DSGE): Models, Solution, Estimation (graduate level)
Stars: ✭ 41 (+215.38%)
Mutual labels:  models
survHE
Survival analysis in health economic evaluation Contains a suite of functions to systematise the workflow involving survival analysis in health economic evaluation. survHE can fit a large range of survival models using both a frequentist approach (by calling the R package flexsurv) and a Bayesian perspective.
Stars: ✭ 32 (+146.15%)
Mutual labels:  uncertainty
Awesome-Tensorflow2
基于Tensorflow2开发的优秀扩展包及项目
Stars: ✭ 45 (+246.15%)
Mutual labels:  classification
uapca
Uncertainty-aware principal component analysis.
Stars: ✭ 16 (+23.08%)
Mutual labels:  uncertainty
awesome-text-classification
Text classification meets word embeddings.
Stars: ✭ 27 (+107.69%)
Mutual labels:  classification
django-model-values
Taking the O out of ORM.
Stars: ✭ 57 (+338.46%)
Mutual labels:  models
godmt
Tool that can parse Go files into an abstract syntax tree and translate it to several programming languages.
Stars: ✭ 42 (+223.08%)
Mutual labels:  models
Online-Category-Learning
ML algorithm for real-time classification
Stars: ✭ 67 (+415.38%)
Mutual labels:  classification
scoruby
Ruby Scoring API for PMML
Stars: ✭ 69 (+430.77%)
Mutual labels:  classification

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].