PINNs are a modern approach to solving (partial) differential equations (=PDEs) using neural networks based on minimizing a residuum formed with automatic differentiation. This video is a simple example of the 1D Poisson problem. Here is the code: [ Ссылка ]
-----
👉 This educational series is supported by the world-leaders in integrating machine learning and artificial intelligence with simulation and scientific computing, Pasteur Labs and Institute for Simulation Intelligence. Check out [ Ссылка ] for more on their pursuit of 'Nobel-Turing' technologies ([ Ссылка ] ), and for partnership or career opportunities.
-------
📝 : Check out the GitHub Repository of the channel, where I upload all the handwritten notes and source-code files (contributions are very welcome): [ Ссылка ]
📢 : Follow me on LinkedIn or Twitter for updates on the channel and other cool Machine Learning & Simulation stuff: [ Ссылка ] and [ Ссылка ]
💸 : If you want to support my work on the channel, you can become a Patreon here: [ Ссылка ]
🪙: Or you can make a one-time donation via PayPal: [ Ссылка ]
-------
⚙️ My Gear:
(Below are affiliate links to Amazon. If you decide to purchase the product or something else on Amazon through this link, I earn a small commission.)
- 🎙️ Microphone: Blue Yeti: [ Ссылка ]
- ⌨️ Logitech TKL Mechanical Keyboard: [ Ссылка ]
- 🎨 Gaomon Drawing Tablet (similar to a WACOM Tablet, but cheaper, works flawlessly under Linux): [ Ссылка ]
- 🔌 Laptop Charger: [ Ссылка ]
- 💻 My Laptop (generally I like the Dell XPS series): [ Ссылка ]
- 📱 My Phone: Fairphone 4 (I love the sustainability and repairability aspect of it): [ Ссылка ]
If I had to purchase these items again, I would probably change the following:
- 🎙️ Rode NT: [ Ссылка ]
- 💻 Framework Laptop (I do not get a commission here, but I love the vision of Framework. It will definitely be my next Ultrabook): [ Ссылка ]
As an Amazon Associate I earn from qualifying purchases.
-------
Timestamps:
00:00 Intro
01:02 What are PINNs?
01:23 1D Poisson Problem with homogeneous Dirichlet BCs
02:11 Training PINNs by residuum losses
04:28 How autodiff comes into play
06:33 Finite Differences as a reference
07:08 Considered forcing function
07:23 Imports
07:57 Constants/Hyperparameters
09:20 Defining and initializing the MLP architecture
11:38 Querying initial PINN state at some points
13:52 Computing reference solution by Finite Differences
18:07 Plot true solution and initial PINN guess
20:41 Defining PDE residuum using automatic differentiation
24:10 Total loss function
28:16 Training loop (including the third autodiff pass)
32:06 Plot Final PINN solution and discussion
34:30 Advantages of having a trained PINN
35:18 Summary
37:23 Potential improvements
37:52 Outro
![](https://i.ytimg.com/vi/-dQFrxNuxys/maxresdefault.jpg)