Code Monkey home page Code Monkey logo

forwardeulernet's Introduction

forwardEulerNET

Differential equations are used to model problems that originate in disciplines such as physics, biology, chemistry, and engineering. In recent times, due to the abundance of data, there is an active search for data-driven methods to learn Differential equation models from data. However, many numerical methods often fall short. Advancements in neural networks and deep learning, have motivated a shift towards data-driven deep learning methods of learning differential equations from data. In this work, we propose a forward-Euler based neural network model and test its performance by learning ODEs such as the FitzHugh-Nagumo equations from data using different number of hidden layers and different neural network width.

The paper is available at

https://arxiv.org/abs/2205.11483

Highlights

  • Formulate a neural network
  • A residual ODE connection inspired by the forward-Euler scheme will be used to construct the loss function.
  • we demonstrate that a loss function built using a forward Euler temporal scheme in the network formulation is able to learn the form of an ODE from data to high accuracy.

Training

Here, we show that training the network with simulated data, the network learns the dynamics of the dynamical system and a predicted solution is obtained using the learned dynamics in an ODE solver such as scipy's odeint.

Requirements

  • Python 3.9.6
  • import tensorflow.compat.v1 as tf
  • Other packages, such as Matplotlib, Numpy and Scipy, are also used

Reference

The inspiration for this work is the following paper:

https://arxiv.org/abs/1801.01236

forwardeulernet's People

Contributors

okayode avatar

Watchers

 avatar

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.