https://github.com/babayara/deepbsde

Deep BSDE solver in TensorFlow

https://github.com/babayara/deepbsde

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Deep BSDE solver in TensorFlow

Basic Info
  • Host: GitHub
  • Owner: BabaYara
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 9.77 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of frankhan91/DeepBSDE
Created over 8 years ago · Last pushed almost 9 years ago

https://github.com/BabaYara/DeepBSDE/blob/master/

# [Deep BSDE Solver](https://arxiv.org/abs/1707.02568) in TensorFlow


## Training

```
python main.py --problem=SquareGradient
```

Command-line flags:

* `problem_name`: Name of partial differential equation (PDE) to solve. 
There are seven PDEs implemented so far. See [Problems](#problems) section below.
* `num_run`: Number of experiments to repeatedly run for the same problem.
* `log_dir`: Directory to write event logs and output array.


## Problems

`equation.py` and `config.py` now support the following problems:

* `AllenCahn`: Allen-Cahn equation with a cubic nonlinearity.
* `HJB`: Hamilton-Jacobi-Bellman (HJB) equation.
* `PricingOption`: Nonlinear Black-Scholes equation for the pricing of European financial derivatives
with different interest rates for borrowing and lending.
* `PricingDefaultRisk`: Nonlinear Black-Scholes equation with default risk in consideration.
* `BurgesType`: Multidimensional Burgers-type PDEs with explicit solution.
* `QuadraticGradients`: An example PDE with quadratically growing derivatives and an explicit solution.
* `ReactionDiffusion`: Time-dependent reaction-diffusion-type example PDE with oscillating explicit solutions.


New problems can be added very easily. Inherit the class `equation`
in `equation.py` and define the new problem. Note that the generator function 
and terminal function should be TensorFlow operation while the sample function
can be python operation. Also remember to a give proper config in `config.py`.


## Dependencies

* [TensorFlow >=1.2](https://www.tensorflow.org/)

## Reference
[1] Han, J., Jentzen, A., and E, W. Overcoming the curse of dimensionality: Solving high-dimensional partial differential equations using deep learning. 
[arXiv:1707.02568](https://arxiv.org/abs/1707.02568) (2017) 
[2] E, W., Han, J., and Jentzen, A. Deep learning-based numerical methods for high-dimensional parabolic partial differential equations and backward stochastic differential equations. [arXiv:1706.04702 ](https://arxiv.org/abs/1706.04702) (2017)

Owner

  • Name: Baba-yara
  • Login: BabaYara
  • Kind: user
  • Location: Portugal
  • Company: Nova School of Business and Economics

I am a Ph.D. candidate at NOVA SBE who combines machine-learning with econometrics in the study of asset pricing.

GitHub Events

Total
Last Year