Menu‣
How to solve problems Solving Aging
Fiction The Hike
Other Projects Arcadia DEEPWAVE
You can comment on everything. Or give me (harsh) personal feedback.
Made with 💙 by me (how to).
Dedicated to my family.
“Make Machines Learn” Explainer
Status: Draft, never finished
In the fall of 2022 a few of us at Arcadia gathered for an ML Ultralearning sprint. In the end, I wrote down a summary of what I learned.
Using only the 1000 most common used words.
Hello.
This is everything I learned during the last 10 days. Three friends and I wanted to learn really fast how machines learn (really fast). I will tell you what we did, but I have to follow three laws:
- I am only allowed to use the ten hundred most used words
- I can use
define
→ making up a short word that stands for more words - I believe that you have a new computer and know nothing
(like the person who explained things this way and is funny)
(like the guy named Snow)
At the end of the 10 days I build this:
(Insert working Streamlit version)
If you want to do the same, you just have to read a special form of paper. What makes it special? You can play with it!
Let's begin.
Setup
↓
- Making your computer do things it couldn't do before.
So what do you need to make a machine learn? Well, a machine. You are reading this, so you have a machine. Good. You are half way there.
Next, we need some way to make it learn. Why? Because then it can do cooler things. Like this art piece:
I hope this is enough to make you really want to do the same. If not play around with "In the middle of traveling" or "Art maker, but written like a loved clean up machine".
Humans learn really well if they know why they should learn something. So if I say "Machine Learning" your brain should make those fire up-goers we use when the earth went around the sun once. I will spent little time on making you excited, so please do it yourself.
Done? Good. Then lets write some code
.
Code
→Language your computer speaks, so you can tell it do things (like learning!)
We need:
- A "doing-things-place" where you can "see" your "code" <-
Visual Studio Code
,VS Code
- A choice of which special language we want to use (there are many)→
Python
- A machine that's better then the computer you are using <- Paperspace. (Not really needed, but you will run into a lot of problems if you are using your own machine and don't know much already. You can also just use Paperspace and not VS Code)
- A machine that's better then the computer you are using←
Paperspace
- A place where we can share what we wrote to our computer (so that others can do the same, and we what they did) <-
GitHub
1. (Not really needed, but you will run into a lot of problems if you are using your own machine and don't know much already. You can also just use Paperspace and not VS Code)
Instead of words on boring paper we will also use two special forms of paper:
- The one you are using right now. It makes you remember! <-
RemNote
. (You can even write on it, if you sign up) - One that you can play with. It makes some parts of the words so that your computer can do stuff with it! <-
Jupyter Notebooks
, also called theNotebook
.
Let's catch them all!
Paperspace
Machines have many small parts that can break, and making them do things is very hard. But many people have found some ways to make machines do some things. They wrote those into books for computers, or rather boxes of paper with code on them. You can get those from a book store and let your computer read them. But these books are confusing! If you open the wrong boxes together everything breaks. And there a new ones coming out all the time. So instead of starting from nothing, we will make a phone call to a computer that has already read a lot. It's number is Paperspace.com. Call it now (don't worry, it's free). You see it?
- Touch the "Sign up free" field. Then create a way that they can remember you. While doing so, they will also ask to call you back, so they know you are real. Next, follow these steps:
- Start from nothing, or you will be very confused! Also you can pick how good your computer should be. The free ones are enough.
- Finally. It's time to start your Notebook!
The Notebook
The next step will be to play with this Explainer. For this I wrote a second book, as a Notebook. I can send it to you here:
It will tell you how to get the Notebook on your computer.
Before you leave, a few words about the other helping things:
RemNote
You have been reading this in RemNote. Remember, that I said this special kind of paper helps you remember? It does!
The way this works is that all the things we have defined have all been turned into memory cards! A special algorithm will tell you when to look at them!
algorithm
→tells anyone who is interested in which order to do things. Like, when to put food into hot water and how long to wait before it's good.
So, sign up, and view this page every day, at least for as long as you are working through the Notebook.
Always remember to do your remembering!
GitHub
You have already seen it! I will write a Git Explainer soon.
VS Code
You don't have to do this, but you can get Visual Studio Code, and bridge it to GitHub and Paperspace. It makes it easier to work with your own computer later. Just touch these Blue Words for a How-To.
Now finally. Let's play, by
Sending our Notebook to Paperspace:
- Go to Paperspace
- Touch this
- Open the Notebook
Well. That was easy. See you over there!
- Words I have defined so far:
- define
- Setup
- Setupc
- Code
- Visua lStudio Code, VS Code
- Python
- Paperspace
- GitHub
- RemNote
- JupyterNotebooks
- Notebook
All definitions from the Notebook
Other Explainers
- “Make Machines Learn” Explainer
- Setup ↓
- We need:
- Paperspace
- The Notebook
- RemNote
- GitHub
- VS Code
- Sending our Notebook to Paperspace:
- Well. That was easy. See you over there!
- All definitions from the Notebook
- Other Explainers
Here is a RemNote version of the same text, with flashcards!
Here is the Jupyter Notebook to play around with: