Account
Computer Science & Technology

Deep Learning from Scratch

Building with Python from First Principles

Deep Learning from Scratch teaches you to build neural networks in Python from first principles, so you understand every layer instead of trusting a library.

  • 253pages
  • 8chapters
  • Firstedition

This book is for you if you are

  • a data scientist who uses ML libraries but wants to know what happens inside them
  • a software engineer comfortable in Python moving into neural network work
  • a practitioner who learns better from code and diagrams than from proofs alone

Why this book

Deep Learning from Scratch is Seth Weidman's guide to building neural networks in Python from first principles, published by O'Reilly Media. It targets data scientists and software engineers who already know machine learning and want the mechanics underneath the frameworks. Instead of calling a library and trusting it, you write the forward pass, the loss, and the gradient yourself.

Most titles on deep learning either explain the math without code or show library calls without the math. This edition keeps the two locked together: every concept arrives as text, a diagram, math, and runnable code in the same chapter. The sequence moves from foundations and fundamentals into convolutional networks, recurrent networks, and PyTorch, so the framework material lands after you already understand what the framework is doing.

  • Builds each network component by hand before introducing the library version
  • Explains backpropagation through code you wrote, not through an autograd black box
  • Separates foundations and fundamentals from the convolutional and recurrent chapters, so you can study in order or jump
  • Ends with PyTorch and deep dives that connect your from-scratch implementations to production tooling

Readers who get the most from it are practitioners with working Python and some prior machine learning exposure who want to reason about architectures rather than copy them. Get your copy today.

What you'll learn

  • Implement forward and backward passes for neural networks in plain Python
  • Explain how backpropagation computes gradients step by step
  • Build convolutional neural networks and reason about their layer structure
  • Construct recurrent neural networks for sequence data
  • Translate your from-scratch implementations into PyTorch
  • Diagnose training problems by tracing the math behind the code
  • Connect foundational linear algebra and calculus to working network code

Not the right book for: readers who want a framework tutorial with no math or code from scratch

Questions about this book

Do I need deep learning experience before reading Deep Learning from Scratch?

No deep learning background is assumed, but the book expects working Python and some prior machine learning experience, since it starts from first principles rather than from zero programming.

What Python libraries does the book use?

The early chapters build networks in plain Python and NumPy-style code, and PyTorch is introduced later so you can compare your own implementations with a production framework.

Does the book cover convolutional and recurrent networks?

Yes. Convolutional neural networks and recurrent neural networks each get dedicated chapters, followed by PyTorch and deeper material that extends the earlier building blocks.

How is this different from a framework tutorial?

A tutorial shows you which function to call; this book has you write the forward pass, loss, and gradient yourself, so the framework's behavior stops being opaque.

Can I get it in another format?

Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.

Does it work on Kindle?

Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.

How many times can I download it?

As many times as you like. Sign in to your account and download it again at any time.

What if the file does not work?

Contact us with your order number and we will fix it or refund you.

Contents

  1. 1Foundationsp. 1
  2. 2Fundamentalsp. 41
  3. 3Deep Learning from Scratchp. 71
  4. 4Extensionsp. 99
  5. 5Convolutional Neural Networksp. 127
  6. 6Recurrent Neural Networksp. 159
  7. 7PyTorchp. 195
  8. 8Deep Divesp. 221

Details

Author
Seth Weidman
Publisher
O'Reilly Media
Edition
First edition, 2019
ISBN
9781492041412
Pages
253
Language
English
Formats
PDF (EPUB, Kindle or any other format on request)
File size
9.62 MB
Licence
Personal use, keep forever

Seth Weidman

Seth Weidman wrote Deep Learning from Scratch, published by O'Reilly Media.

Buy with confidence

If your file does not open or download, we fix it or refund you. Read the refund policy.

More in Computer Science & Technology

See all

Think Bayes

Allen B. Downey

PDF · 338 pages

$9.99 Regular price $30.99 −68%

You save $21.00

Add to cart

Introduction to Algorithms

Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein

PDF · 1313 pages

$19.99 Regular price $94.76 −79%

You save $74.77

Add to cart
Cover of 10-Minute Focus by Daniel Walter

Get a free ebook

Join the list and get 10-Minute Focus free, plus a short note when new books arrive.

Your cart

No products in the cart.

Subjects

More

Look inside

Sample