Welcome to the fifth chapter! In the previous chapter, notebook.ipynb, we learned how to use Jupyter Notebooks as our digital lab journal for writing code and seeing results.
Now, we run into a common hurdle. Machine Learning involves a lot of abstract math and invisible logic. Sometimes, staring at a block of code or a mathematical equation is overwhelming.
This brings us to the sketchnotes directory.
Imagine you are trying to assemble a complicated piece of furniture (like a bookshelf).
In this project, sketchnotes are that visual manual. They are hand-drawn illustrations that translate complex Machine Learning concepts (like "Linear Regression" or "Clustering") into friendly, easy-to-understand cartoons.
The Use Case: You are about to start a hard lesson. Before you read the text or write the code, you open the sketchnote to create a mental map of what is about to happen.
A "Sketchnote" is a specific way of taking notes that uses both words and pictures.
Code focuses on the details (syntax, commas, variable names). Sketchnotes focus on the concept (how data flows from A to B).
Machine Learning terms can be scary.
By converting math into a metaphor, your brain understands the "Why" before it has to struggle with the "How."
Technically, sketchnotes is just a folder full of image files (.png or .jpg).
You don't "execute" them. You view them. However, since we are working in a Notebook environment (as learned in notebook.ipynb), we can actually pull these images right into our code environment to look at them while we work!
Let's say you are studying regression and you want to see the cheat sheet. You can use Python to display the image inside your notebook.
# Import the display tool from IPython
from IPython.display import Image
# Tell Python where the image is
# We look inside the 'sketchnotes' folder
Image(filename='sketchnotes/regression.png')
Output: (A beautiful hand-drawn diagram appears on your screen showing a line going through data points.)
Explanation:
Image, a tool that helps notebooks handle graphics.sketchnotes directory.What happens when you learn via a Sketchnote? It's a flow of information from the file to your brain, preparing you for the code.
In a GitHub repository, organization is key. The sketchnotes folder is usually located at the root (the top level) so it is easy to find.
If you were to look at the file structure of ML-For-Beginners, it looks like this:
ML-For-Beginners/
โโโ 1-Introduction/
โโโ 2-Regression/
โโโ ...
โโโ sketchnotes/
โโโ intro_sketchnote.png
โโโ regression_sketchnote.png
โโโ clustering_sketchnote.png
You can also use these notes in your documentation (like README.md files). Since we are writing Markdown right now, here is how we technically embed these abstractions into text files.
# My Notes on Regression
Here is the visual summary of the lesson:

Now let's write the code...
Explanation:
![Alt Text]: This describes the image for screen readers (accessibility).(path/to/image): This tells Markdown where to find the file in the sketchnotes folder.When you start 2-Regression or 3-Web-App, the code will get harder.
In this chapter, we explored the sketchnotes directory. We learned that:
Now that we have our visual maps ready, it's time to test our knowledge. Before we start building the heavy machinery of Machine Learning, let's build a small tool to quiz ourselves on what we've learned so far.
Generated by Code IQ