Physics Informed Neural Networks for damped harmonic oscillator and Burger's Equation (with extrapolation analysis) [P]
Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.
I built a PINN implementation in Python to solve two problems as part of a physics exam project: the damped harmonic oscillator (2nd-order ODE) and the 1D viscid Burgers' equation (nonlinear PDE). Both forward and inverse problems (to estimate unknown equation parameters from data) are implemented for each problem.
The repo includes source code, sample outputs, and the written exam report (PDF). Beyond the standard PINN training setup, I ran a comparison against non-physics-informed baselines and specifically investigated extrapolation behavior, i.e. how well the models generalize outside the training domain, and finally made statistical analyses of the parameter estimation performance.
GitHub: https://github.com/desdb6/pinn-dho-burgers
Ready-to-run demo scripts are included, and the modules are structured to be importable so you can write your own training scripts for more customization. This is not novel research, just a clean student implementation, but hopefully useful to others learning about PINNs. Happy to answer questions or receive feedback in the comments.
[link] [comments]
More from r/MachineLearning
-
Improving machine-translated novels via style transfer — looking for advice on the faithfulness/fluency tradeoff [P]
Jul 2
-
How papers are selected for Best Paper, Oral, or Highlight presentation at major ML/CV conferences such as CVPR, ICCV, ECCV, NeurIPS, and ICLR? [D]
Jul 2
-
BMVC 2026 Review Discussion Thread [D]
Jul 2
-
Has anyone tried this approach with Fast Byte Latent Transformers ? [R]
Jul 2
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.