All Projects → ykwon0407 → Uq_bnn

ykwon0407 / Uq_bnn

Uncertainty quantification using Bayesian neural networks in classification (MIDL 2018, CSDA)

Projects that are alternatives of or similar to Uq bnn

Data Exploration
Stars: ✭ 96 (-1.03%)
Mutual labels:  jupyter-notebook
Pyob
Pythonic Objects
Stars: ✭ 96 (-1.03%)
Mutual labels:  jupyter-notebook
Densesharp
[Cancer Research] 3D Deep Learning from CT Scans Predicts Tumor Invasiveness of Subcentimeter Pulmonary Adenocarcinomas
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Stock cnn blog pub
This project is a loose implementation of paper "Algorithmic Financial Trading with Deep Convolutional Neural Networks: Time Series to Image Conversion Approach"
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Voila Gridstack
Dashboard template for Voilà based on GridStackJS
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Mlday Tokyo
Colabs for ML Day Tokyo
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Ijcai cup 2017
IJCAI-17 口碑商家客流量预测
Stars: ✭ 96 (-1.03%)
Mutual labels:  jupyter-notebook
Soccer Ball Detection Yolov2
YOLOv2 trained against custom dataset
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Octconv Tfkeras
Unofficial implementation of Octave Convolutions (OctConv) in TensorFlow / Keras.
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Plant Diseases Classifier
Artificial Intelligence app that detects diseases in plants using a deep learning model
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Publicservant ai
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Data cleaning workshop
Created the contents of this repo originally for a workshop I gave at UCLA
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Deep Residual Unet
ResUNet, a semantic segmentation model inspired by the deep residual learning and UNet. An architecture that take advantages from both(Residual and UNet) models.
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Nobslanotebooks
Jupyter notebooks with exercises for the No bullshit guide to linear algebra.
Stars: ✭ 96 (-1.03%)
Mutual labels:  jupyter-notebook
Pp4fpgas Cn Hls
HLS Project of pp4fpgas - https://github.com/xupsh/pp4fpgas-cn
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
How to do style transfer in tensorflow
Stars: ✭ 96 (-1.03%)
Mutual labels:  jupyter-notebook
Fastai Audio
collaborative audio module for fast.ai
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Rc tf
百度机器阅读理解竞赛模型代码 ,获得 final 第三名
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook
Ccks2018
CCKS 2018 开放领域的中文问答任务 1st 解决方案
Stars: ✭ 96 (-1.03%)
Mutual labels:  jupyter-notebook
Pytorch Learners Tutorial
PyTorch tutorial for learners
Stars: ✭ 97 (+0%)
Mutual labels:  jupyter-notebook

Uncertainty quantification using Bayesian neural networks in classification: Application to biomedical imaging segmentation

This repository provides the Keras implementation of the paper "Uncertainty quantification using Bayesian neural networks in classification: Application to biomedical image segmentation" at the Computational Statistics and Data Analysis. This paper extends the paper accepted at the MIDL 2018. In case you want to cite this work, please cite the extended version.

In this repo, we demonstrate the proposed method using the two biomedical imaging segmentation datasets: the ISLES and the DRIVE datasets. For more detailed information, please see the ISLES and DRIVE.

I also strongly recommend to see the good implementation using the DRIVE dataset by Walter de Back. [notebook].

Example

Once you have a trained Bayesian neural network, the proposed uncertainty quantification method is simple !!! In a binary segmentaion, a numpy array p_hat with dimension (number of estimates, dimension of features), then the epistemic and aleatoric uncertainties can be obtained by the following code.

epistemic = np.mean(p_hat**2, axis=0) - np.mean(p_hat, axis=0)**2
aleatoric = np.mean(p_hat*(1-p_hat), axis=0)
  • Example of visual comparison between the proposed and Kendall and Gal (2017) methods Visual comparison between the proposed and Kendall and Gal (2017) methods

A directory tree

.
├── ischemic
│   ├── input
│   │   └── (train/test datasets)
│   └── src
│       ├── configs (empty)
│       ├── data.py
│       ├── models.py
│       ├── settings.py
│       ├── train.py
│       ├── utils.py
│       └── weights (empty)
├── README.md
└── retina
    ├── fig
    ├── input
    │   └── (train/test datasets)
    ├── model.py
    ├── UQ_DRIVE_stochastic_sample_2000.ipynb
    ├── UQ_DRIVE_stochastic_sample_200.ipynb
    ├── utils.py
    └── weights (empty)

References

  • ISLES website
  • DRIVE website
  • Oskar Maier et al. ISLES 2015 - A public evaluation benchmark for ischemic stroke lesion segmentation from multispectral MRI, Medical Image Analysis, Available online 21 July 2016, ISSN 1361-8415, http://dx.doi.org/10.1016/j.media.2016.07.009.
  • J.J. Staal, M.D. Abramoff, M. Niemeijer, M.A. Viergever, B. van Ginneken, "Ridge based vessel segmentation in color images of the retina", IEEE Transactions on Medical Imaging, 2004, vol. 23, pp. 501-509.
  • Kendall, Alex, and Yarin Gal. "What uncertainties do we need in bayesian deep learning for computer vision?." Advances in neural information processing systems. 2017.

Author

Yongchan Kwon, Ph.D. student, Department of Statistics, Seoul National University

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