Git Product home page Git Product logo

pnmol-experiments's People

Contributors

pnkraemer avatar schmidtjonathan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

pnmol-experiments's Issues

PNMOL special case is _not_ tornadox

PNMOL with independent prior dimensions and a polynomial kernel should equal the output of a traditional ODE filter.

It seems like it does not.

Why?

IVP

It would be useful to have a method PDEProblem.to_tornadox_ivp() which removes the "PN" from "PNMOL". We can use it to benchmark pnmol against tornadox.

One difficulty will be the boundary conditions. We cannot just transfer f, df, t0, etc., but have to do the padding-with-zeros-or-the-last-row as in tornadox for the "new" IVP problem.

PDE problems

We need PDE problems to test PNMOL solves on:

  1. linear: 1D / 2D heat equation
  2. non-linear: 2D inviscid Burgers' equation

Numpy vs jax.numpy

There are still a few numpy imports. I suggest we use only jax.numpy, because this way we can go all in with jit and vmap (the latter will be quite important I guess)

PDE Problem classes

I think we need a few more PDE problem classes. As far as I can judge at the moment, we should have

  • DiscretisedLinearPDE (d_t u = d_x u * const)
  • DiscretisedSemiLinearPDE (d_t u = d_x u * const + g(u))
  • DiscretisedQuasiLinearPDE (d_t u = d_x u * g(u))
  • DiscretisedNonlinearPDE (d_t u = g(u, d_x u))

And for each of those, we can implement EK0 and EK1 cleverly.

Remove initialisation with RK/Taylor/etc.

This is too little explored territory for PNMOL thus far. Let's only initialise y, \dot y, and \ddot y (while conditioning y on the boundary conditions?) and hope for the best.

RK init ignores spatial diffusion

Currently, RK init is implemented in a way that exploits the Kronecker structure in the system matrices a little too much -- it assumes cov = cov \otimes I_d, which in the PNMOL case seems wrong to me.

input scale MLE

While it is not clear what the perfect input scale should be (see the figure in the paper), I think it is a decent estimate to use the maximum likelihood estimate based on the initial condition? This is easy to implement (via a grid search, for example; this is used to generate figure 2)

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.