Giter Site home page Giter Site logo

deep-bsde-solver's Introduction

Deep BSDE Solver

This project is part of my master thesis at Imperial College of London. We propose a deep learning approach to solve high-dimensional partial differential equations. The solver is tested on the Black-Scholes Barenblatt equation in 100 dimensions.

Usage

The repository needs to be cloned and running the BlackScholesBarenblatt100D.py will solve the Black-Scholes equation.

$ git clone https://github.com/batuhanguler/Deep-BSDE-Solver.git
$ cd Deep-BSDE-Solver
$ python BlackScholesBarenblatt100D.py

Different architectures are available changing the mode and activation variables in the BlackScholesBarenblatt100D.py file.

Model mode activation
Fully-connected with sine activation "FC" "Sine"
Fully-connected with ReLU activation "FC" "ReLU"
Resnet with sine activation "Resnet" "Sine"
Resnet with ReLU activation "Resnet" "ReLU"
NAIS-Net with sine activation "NAIS-Net" "Sine"
NAIS-Net with ReLU activation "NAIS-Net" "ReLU"

Architectures

Fully-connected

A Pytorch version of Forward-Backward Stochastic Neural Networks: Deep Learning of High-dimensional Partial Differential Equations, a work from Maziar Raissi, is proposed. A simple fully-connected neural network with 5 layers of 256 parameters is implemented.

Resnet Residual networks were proposed in 2015 and helped to backpropagate efficiently the gradient using identity mappings (shortcut connections).

NAIS-Net NAIS-Net were proposed to overcome the problem of forward stability in Residual Networks.

Results

image

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.