All Projects → deepmind → Mc_gradients

deepmind / Mc_gradients

Licence: apache-2.0

Projects that are alternatives of or similar to Mc gradients

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 (-1.02%)
Mutual labels:  jupyter-notebook
Uq bnn
Uncertainty quantification using Bayesian neural networks in classification (MIDL 2018, CSDA)
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Food 101 Mobile
Deep Learning Food Classifier for iOS using Keras and Tensorflow
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Plant Diseases Classifier
Artificial Intelligence app that detects diseases in plants using a deep learning model
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Soccer Ball Detection Yolov2
YOLOv2 trained against custom dataset
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Machine Learning
Implementation of different machine learning techniques
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Fastai Audio
collaborative audio module for fast.ai
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Tia
Your Advanced Twitter stalking tool
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Rc tf
百度机器阅读理解竞赛模型代码 ,获得 final 第三名
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Talks
Code, slides, and documentation for the talks I have given.
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Densesharp
[Cancer Research] 3D Deep Learning from CT Scans Predicts Tumor Invasiveness of Subcentimeter Pulmonary Adenocarcinomas
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Ccks2018
CCKS 2018 开放领域的中文问答任务 1st 解决方案
Stars: ✭ 96 (-2.04%)
Mutual labels:  jupyter-notebook
Lein Jupyter
A Leiningen plugin to integrate clojure with jupyter notebook
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Pytorch Learners Tutorial
PyTorch tutorial for learners
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Kglab
Graph-Based Data Science: an abstraction layer in Python for building knowledge graphs, integrated with popular graph libraries – atop Pandas, RDFlib, pySHACL, RAPIDS, NetworkX, iGraph, PyVis, pslpython, pyarrow, etc.
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Mlday Tokyo
Colabs for ML Day Tokyo
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Rlai Exercises
Exercise Solutions for Reinforcement Learning: An Introduction [2nd Edition]
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook
Gde
Graph Neural Ordinary Differential Equations
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Graph2nn
code for paper "Graph Structure of Neural Networks"
Stars: ✭ 98 (+0%)
Mutual labels:  jupyter-notebook
Machine learning
机器学习相关
Stars: ✭ 97 (-1.02%)
Mutual labels:  jupyter-notebook

Monte Carlo Gradient Estimation in Machine Learning

This is the example code for the following paper. If you use the code here please cite this paper.

Shakir Mohamed, Mihaela Rosca, Michael Figurnov, Andriy Mnih Monte Carlo Gradient Estimation in Machine Learning. [arXiv].

Running the code

The code contains:

  • the implementation the score function, pathwise and measure valued estimators gradient_estimators.py and their tests to ensure unbiasedness gradient_estimators_test.py.
  • the implementation of control variates control_variates.py and their tests control_variates_tests.py.
  • a main.py file to reproduce the Bayesian Logistic regression experiments in the paper.
  • a config.py file used to configure experiments.

To run the code and install the required dependencies:

  source monte_carlo_gradients/run.sh

To run a test:

  python3 -m monte_carlo_gradients.gradient_estimators_test

Colab

You can run the code in the browser using Colab. The experiments from Section 3 can be reproduced using the following link: Intuitive Analysis of Gradient Estimators

Disclaimer

This is not an official Google product.

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