LAUNCH SEQUENCE Books
Front cover of Wired to Learn by Adi Maaita, part of the Launch Sequence series
BOOK 1 OF 3 · IGNITION Available

Wired to Learn

Build, Train, Optimize and Deploy Neural Networks with Python, NumPy and PyTorch

From Your First Neuron to Intelligent Applications

Understand neural networks deeply. Build them yourself. Ship them for real.

by Adi Maaita

Companion code on GitHub

chapters
36
parts
7
appendices
4
runnable listings
150+
figures and tables
120+
applications
6

Formats

Choose your format

Kindle eBook

$9.99

Print Replica edition: keeps the printed layout. Reads on the Kindle apps (phone, tablet, PC, Mac) and Fire tablets; not on e-ink Kindle readers.

Paperback

$42.99

ISBN-13 9798140254551

Hardcover

$54.99

ISBN-13 9798140308001

About the book

About the book

Understand neural networks deeply. Build them yourself. Ship them for real.

Most deep-learning books stop at one of two places: they explain the ideas and leave you unable to build anything, or they hand you library calls and leave the machine a mystery. Wired to Learn does the whole journey in one book. You write a deep-learning library from scratch in NumPy, move to PyTorch once nothing about backpropagation is hidden, and finish by using networks as components of six working applications.

Every program runs. Every listing in the book was executed, and the output printed beneath it, including the honest failures, comes from that run. The companion repository carries the expected output of every longer program so you can check your own, and the book's results were produced on an ordinary two-core laptop CPU, with no GPU required.

Who this book is for

You write Python and want to understand neural networks from the inside, well enough to build, debug and deploy them. Working developers who call AI libraries, students of computer science and software engineering, and teachers who want a course-length text with exercises and projects. You need high-school algebra; everything else is taught visually in Chapter 2.

How every idea is taught

  • Intuition you can picture, before any symbols appear
  • Math drawn as figures, 120+ of them, instead of walls of notation
  • Code you write and run, every listing in the book and in the repository

What you will build

  • Backpropagation, derived and coded by hand
  • TinyNet, your own deep-learning library, then the same models in PyTorch
  • A handwritten-digit reader: 98% with your own library, then 99% in PyTorch; CNNs with transfer learning, LSTMs, a mini-GPT, VAEs, GANs, a diffusion model and graph networks
  • Self-supervised learning, reinforcement-learning agents and LoRA fine-tuning
  • Models made smaller and faster with quantization, pruning and distillation, served with ONNX Runtime, FastAPI and Docker
  • Six applications: a photo organizer, a ticket-triage assistant, a log anomaly detector, a demand-forecasting dashboard, a recommender and question answering over documents, plus testing and monitoring for all of them

Inside

36 chapters in seven parts, more than 500 pages, 150+ runnable listings, 120+ figures and tables, exercises with answers, and four appendices (Python and NumPy refresher, setup, math reference, answers). Python 3.12, NumPy, PyTorch 2, ONNX Runtime, FastAPI and Streamlit.

About the author. Adi Maaita is Director of Information and Communication Technology at King Hussein Cancer Center in Amman. A former Associate Professor of Software Engineering and Dean of the Faculty of Information Technology at Middle East University, with more than twenty years in academia and industry, he holds a PhD in Software Engineering from the University of Leicester. Wired to Learn is the first book in his three-book Launch Sequence series.

Open the sample, run the first network in Chapter 1, and see for yourself.

The method

How every idea is taught

Every program runs

Every listing in the book was executed, and the output printed beneath it, including the honest failures, comes from that run. The companion repository carries the expected output of every longer program, and the book's results were produced on an ordinary two-core laptop CPU, with no GPU required.

Part VII

The 6 applications you will build

  • Smart Photo Organizer Chapter 30
  • Ticket Triage Assistant Chapter 31
  • Log Anomaly Detector Chapter 32
  • Demand-Forecasting Dashboard Chapter 33
  • Recommender System Chapter 34
  • Question Answering over Documents Chapter 35

Table of contents

36 chapters in 7 parts, 4 appendices

Full contents page →
Part I The Spark: Foundations
  1. 1 Meet the Neural Network Free code/ch01
  2. 2 The Math Toolkit, Made Visual code/ch02
  3. 3 The Artificial Neuron and the Perceptron code/ch03
  4. 4 Activation Functions: Giving Networks Their Bend code/ch04
  5. 5 Learning from Mistakes: Loss Functions and Gradient Descent code/ch05
Part II Building a Brain from Scratch
  1. 6 Multilayer Networks: The Forward Pass code/ch06
  2. 7 Backpropagation, Step by Step code/ch07
  3. 8 TinyNet: Your Own Deep-Learning Library code/ch08
  4. 9 Project: Reading Handwritten Digits code/ch09
Part III Training Like a Pro
  1. 10 From TinyNet to PyTorch code/ch10
  2. 11 Optimizers: From Momentum to Adam code/ch11
  3. 12 Initialization and Normalization code/ch12
  4. 13 Fighting Overfitting code/ch13
  5. 14 The Training Playbook code/ch14
Part IV The Network Zoo
  1. 15 Convolutional Neural Networks code/ch15
  2. 16 Modern CNNs and Transfer Learning code/ch16
  3. 17 Recurrent Networks: RNN, LSTM and GRU code/ch17
  4. 18 Attention, Transformers and a Mini-GPT code/ch18
  5. 19 Autoencoders and Variational Autoencoders code/ch19
  6. 20 Generative Models: GANs and Diffusion code/ch20
  7. 21 Graph Neural Networks code/ch21
  8. 22 Choosing the Right Network code/ch22
Part V Learning Beyond Labels
  1. 23 Self-Supervised and Contrastive Learning code/ch23
  2. 24 Reinforcement Learning with Neural Networks code/ch24
  3. 25 Fine-Tuning, Full and Parameter-Efficient code/ch25
Part VI Maximum Performance
  1. 26 Profiling and Faster Training code/ch26
  2. 27 Quantization, Pruning and Distillation code/ch27
  3. 28 ONNX, Inference Engines and Serving code/ch28
Part VII Intelligent Applications
  1. 29 Neural Networks as Application Components code/ch29
  2. 30 Project: A Smart Photo Organizer code/ch30
  3. 31 Project: A Ticket Triage Assistant code/ch31
  4. 32 Project: A Log Anomaly Detector code/ch32
  5. 33 Project: A Demand-Forecasting Dashboard code/ch33
  6. 34 Project: A Recommender System code/ch34
  7. 35 Project: Question Answering over Documents code/ch35
  8. 36 Testing, Monitoring and MLOps code/ch36
Appendices
  • Appendix A: Python and NumPy Crash Course
  • Appendix B: Setting Up Your Workshop
  • Appendix C: Math Reference
  • Appendix D: Answers and Hints

Read first, buy later

Free sample: the title pages and Chapter 1

A 12-page PDF. No sign-up needed.

Download the sample

Code & support

Companion code and corrections

launchsequencebooks/wired-to-learn

Every listing, with the expected output of every longer program.

Code & setup

Python 3.12 · NumPy · PyTorch 2 · ONNX Runtime · FastAPI · Streamlit · Docker

Setup guide →

Errata and updates

No errata reported yet.

Errata page →

Teaching with this book? For instructors

Portrait of Adi Maaita

About the author

Adi Maaita

Adi Maaita is Director of Information and Communication Technology at King Hussein Cancer Center in Amman. A former Associate Professor of Software Engineering and Dean of the Faculty of Information Technology at Middle East University, with more than twenty years in academia and industry, he holds a PhD in Software Engineering from the University of Leicester.

More about the author →

FAQ

Common questions

Do I need a GPU?

No. The book's results were produced on an ordinary two-core laptop CPU, with no GPU required.

How much math do I need?

High-school algebra. Everything else is taught visually in Chapter 2.

How much Python do I need?

You should already write Python. Appendix A is a Python and NumPy crash course.

Where is the code?

In the companion repository, which carries the expected output of every longer program so you can check your own.

Which formats are there?

Kindle eBook, paperback and hardcover. Print Replica edition: keeps the printed layout. Reads on the Kindle apps (phone, tablet, PC, Mac) and Fire tablets; not on e-ink Kindle readers.

Can I read some of it first?

Yes. The free sample PDF has the title pages and Chapter 1.

Can I teach a course with it?

It is a course-length text with exercises and projects. Instructors who adopt the book are welcome to write to adi@adimaaita.com.

Book details

Edition
First edition, 2026
Pages
523
Trim size
7 x 10 in (17.8 x 25.4 cm)
Interior
Black and white
Language
English
Publisher
Launch Sequence Books
ISBN-13 (Paperback)
9798140254551
ISBN-13 (Hardcover)
9798140308001

Launch Sequence

Understand neural networks deeply. Build them yourself. Ship them for real.

Wired to Learn

from $9.99

Buy