In the previous chapter, Project Overview, we introduced ML-For-Beginners as a "Cookbook" for learning Machine Learning.
Now, we need to talk about the kitchen equipment. You cannot cook a meal without a stove, a knife, and a pan. Similarly, you cannot build Machine Learning models without a specific set of software tools. This chapter introduces the "Toolbox" you will use throughout the course.
Machine Learning involves complex calculations. Doing these by hand would be like trying to dig a swimming pool with a spoon. We use programming languages and specialized tools to do the heavy lifting for us.
Imagine you are trying to predict the price of a pumpkin (our goal from Chapter 1).
To do this, you need two main things:
We use a variety of technologies in this project. Let's break them down into three easy categories: The Languages, The Environment, and The Support Tools.
These are the programming languages you will "speak" to the computer.
You don't need to know both! You pick one track.
A standard code file just runs and closes. A Jupyter Notebook is special because it is interactive. It allows you to mix:
These tools run the "School" website itself.
As a student, your main interaction will be importing "Libraries" in Python or R inside a Jupyter Notebook.
Think of a Library like a specialized toolbelt. Python knows basic math, but if you want to draw complex graphs, you need to grab the "Graphing Toolbelt" (a library called matplotlib).
Here is how you start almost every lesson in this curriculum. You tell Python to bring in the heavy machinery.
# Import the tools we need
import pandas as pd # Tool for handling data tables
import numpy as np # Tool for heavy math
import matplotlib.pyplot as plt # Tool for drawing graphs
# Now we are ready to work!
print("Tools loaded successfully.")
Explanation: import tells Python to load code written by others. We give them nicknames (like pd for pandas) to save typing time later.
It might look like magic when you visit the course website, take a quiz, and then open a notebook. Here is what is happening under the hood.
When you use the project, different technologies handle different parts of your experience.
.md files so they look like a clean website.How does the computer know which versions of the tools to install? We use "Shopping Lists."
requirements.txtThis file tells the computer exactly which libraries to install so the lessons work correctly.
# content of requirements.txt
jupyter>=1.0.0
pandas>=1.3.0
scikit-learn>=0.24.2
flask>=2.0.1
Explanation: This file lists the "ingredients" needed. pandas>=1.3.0 means "Get me the Pandas library, but make sure it is version 1.3.0 or newer."
We also use a tool called GitHub Actions. This is an automated robot that lives in the cloud. Every time we change the course, this robot:
requirements.txt.This ensures that the code you download is always working.
The quiz is a mini-application embedded in the lessons. We will explore how to build this in Quiz Application Development, but simply put:
In this chapter, we unpacked the Key Technologies that power ML-For-Beginners:
Now that we have our tools ready, we need to understand how the files are organized on the shelf.
Next Chapter: Repository Structure
Generated by Code IQ