The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
A practical, code-first guide to physics-informed machine learning for scientists and engineers. You'll build a working Physics-Informed Neural Network from scratch in PyTorch, solve a real differential equation, and verify it against the exact solution — staying honest about both the power and the limits of the method.
Minimum price
$9.00
$9.98
About the Book
A practical, code-first introduction to Physics-Informed Machine Learning (PIML) — written for scientists and engineers who know the physics but are new to deep learning.
If you have a background in physics, engineering, or applied mathematics, you already understand differential equations. This book teaches you to put that knowledge to work inside a neural network: solving the equations you know, fusing them with sparse data, and tackling the problems where pure machine learning needs too much data and classical solvers need too much specification.
You won't just read about how Physics-Informed Neural Networks (PINNs) work — you'll build one yourself, from scratch, in PyTorch, and measure exactly how accurate it is against an exact solution.
This is Stage 1 — Foundations & Your First PINN. In about 100 pages across five chapters, you will:
Throughout, the book stays honest about what these methods can and cannot do. Physics-informed machine learning is powerful, but it has real, well-documented limitations — and a guide that showed only the happy path would not be practical at all. Where the method struggles, this book says so plainly, and shows you how to recognize the trouble when it arrives.
Who it's for: readers comfortable with calculus and differential equations who can write intermediate Python, but who have not yet worked with a deep learning framework. No prior PyTorch, JAX, or TensorFlow experience required.
Published progressively. This book grows in three stages under the Lean Publishing model. Buy Stage 1 today and receive Stage 2 (Advanced) and Stage 3 (Applications) as free updates when they're released.
About the Author
KOMPRI is an educator, author, and creator of practical learning tools focused on building hands-on, skill-first resources for professionals and learners worldwide. With a strong belief that people learn best by doing rather than just reading, KOMPRI designs workbooks and guides that are 95% practice and only 5% theory — providing clear frameworks, step-by-step runbooks, ready-to-use templates, and real-world examples that you can apply immediately. As the creator of the Career Skills Field Workbook Series, KOMPRI helps individuals master essential professional skills — from bookkeeping and client success to business operations — with content written in clear, international workplace terminology. These materials are used by self-learners, career changers, students, and trainers across the globe to build practical, job-ready competence and confidence. Every resource is built on the idea that the best way to master a role is to work through it, practice it, and turn knowledge into reliable, repeatable skill.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.