Accessing the Source Code
The book's code examples are available for download.
Begin with the Downloadable Examples
When you work through the book's deep learning material, you do not have to reproduce every example from the printed text yourself. The book's code examples are available for download. This gives you a direct way to obtain the examples and then work with them in the format in which they are provided.
The downloadable examples are Jupyter notebooks, and they are available from both the companion website and GitHub.
Follow the Two Download Routes
There are two locations to remember. One route begins at the companion website. The other route begins at GitHub. Both routes lead you to the book's downloadable examples. The important distinction is the starting location, not a difference in the format of the examples: the examples are provided as Jupyter notebooks in either case.
If you are looking for an example, first identify which of the two stated locations you are using: the companion website or GitHub. Then look for the downloadable Jupyter notebooks rather than expecting the examples to be available only in the printed book.
Recognize the Notebook Format
A Jupyter notebook is the format used for the book's downloadable code examples.
The format matters because it tells you what kind of downloadable material to look for. The source material does not describe the examples as a collection of unspecified files; it identifies them specifically as Jupyter notebooks. Therefore, when you access the examples through the companion website or GitHub, recognizing a Jupyter notebook is part of recognizing that you have found the intended downloadable examples.
Trace a Retrieval Decision
Choosing Where to Look
You are working through the deep learning material and want the book's code examples. How should you identify the correct resource and access location?
Identify the resource: You are looking for the book's downloadable code examples, not for a requirement to reproduce every example from the printed text.
Identify the format: The examples are provided as Jupyter notebooks. This is the format you should expect to find.
Choose a location: Use either the companion website or GitHub. Both are stated download locations for the examples.
Confirm the result: The resource you are seeking is the downloadable collection of Jupyter notebooks associated with the book's examples.
Look for the book's downloadable Jupyter notebooks through either the companion website or GitHub.
This decision process prevents a common search error: treating the printed book as the only place where the examples exist. The book points you toward downloadable examples, and the companion website and GitHub provide the two stated places to find them.
Mistakes Beginners Make
Looking only in the printed text for the complete code examples.
The book's code examples are available for download.
Fix:
Use the companion website or GitHub to locate the downloadable examples.Remembering only one download location.
The examples are available in both locations.
Fix:
Remember the pair: companion website and GitHub.Failing to identify the expected file format.
Jupyter notebook is the stated format of the examples.
Fix:
Use Jupyter notebooks as the format clue when identifying the downloaded examples.
Practice the Search Path
Imagine that you need the code examples for a section of the deep learning material. State the resource format you should look for and name both locations where the examples are available.
Hints
- The format is a type of notebook.
- One location is the companion website.
- The other location is GitHub.
What do you think happens?
Before checking the answer, what should you expect the downloadable examples to be?
Reveal answer
Answer: Jupyter notebooks
The source identifies Jupyter notebooks as the format of the book's downloadable examples. It also identifies the companion website and GitHub as download locations.
Remember the Access Pattern
- The book's code examples are available for download. The downloadable examples are provided as Jupyter notebooks. You can find them through two locations: the companion website and GitHub. When you need an example, identify the notebook format and then use either of those locations to access it.
Key Takeaways
- The book's code examples are available for download.
- The downloadable examples are provided as Jupyter notebooks.
- The companion website is one location for the examples.
- GitHub is another location for the examples.
- You can identify the intended resources by combining the two locations with the Jupyter notebook format.