The Lab

Learn it by building it.

Open any chapter as a notebook on a machine of your own, with the book's exact versions and data. Run every example, change it, and keep what you build. Nothing to install.

40 hours a month with Member, from $25 a month. Reading stays free for everyone.

Why it matters

Reading about code isn't the same as running it.

Here's one chapter, and what it takes on your own machine compared with in the Lab.

On your own machine Read the chapterChapter 5 · Lexical retrieval Set it up firstPython 3.12.158 libraries at its versions, its data Then run itonce every version matchesthe book's In the Lab Read the chapterChapter 5 · Lexical retrieval Open it in the Laball of it ready, usually inabout 30 seconds Run it, then build on itthe same output as the book,then your own ideas
A Primer on Search Relevance's examples run on Python 3.12.15 and import 8 libraries, each at the version the book pins. In the Lab they're installed already, with the book's data, on a machine of your own.

In the Lab

Run it. Change it. Keep it.

Each chapter opens in JupyterLab, every example a cell, on the book's exact Python and libraries.

A chapter of A Primer on Search Relevance in the Lab: each example under the words that lead to it, as the book ran it, and a cell for your own.

Run it as the book did

Every example runs on the versions the book pins, so you see the output the book shows.

Make it your own

Change the code, add cells, and try your own ideas on the book's code and data. Reset to the book whenever you like.

Keep your work

Your notebooks are saved for each chapter and edition, and kept for 12 months after you last open them.

Do your class's work

Courses set assignments you complete in the Lab, and they're graded there.

How it works

From any chapter, in three steps.

  1. 1

    Open a chapter

    On any chapter of a book, choose Open in Lab. There's nothing to install.

  2. 2

    Give it 30 seconds

    A machine of your own starts with the book's environment and notebook.

  3. 3

    Start building

    Hours count only while it's open, and it stops after 15 minutes idle.

JupyterLab works best on a laptop or a desktop.

Members get the Lab

Build it here, then use it at work.

40 hours a month with Member. Reading stays free for everyone.

See membership

From $25 a month