Study interactive :: Progress tools open in the Study Hub reader.

Getting Started. Your First ML Project

This guide walks you through a first machine learning project in about 30 minutes.

For the full curriculum map, stage order, and exit gates, read START-HERE.md and FOUNDATION_AND_JOB_READINESS.md.

Quick Start: Iris Classification

The Iris flower classification project is a small, clean first ML run. Follow these steps:

Step 1: Set Up Environment

# Create virtual environment
python -m venv ml-env

# Activate (Windows)
ml-env\Scripts\activate

# Activate (Mac/Linux)
source ml-env/bin/activate

# Install required packages
pip install numpy pandas matplotlib seaborn scikit-learn

Step 2: Run the Project

Navigate to the project directory:

cd 16-projects-beginner/project-02-iris-classification

Run the complete implementation:

python iris_classification.py

Or follow along with the step-by-step guide in README.md.

Step 3: What You'll See

The script will:

  1. Load and explore the Iris dataset
  2. Create visualizations (pair plots, box plots, heatmaps)
  3. Train 3 different models
  4. Compare their performance
  5. Show confusion matrix for the best model
  6. Make predictions on new data

Expected Output

Understanding the Results

Next Steps

  1. Modify the code. Try different models
  2. Experiment with different train/test splits
  3. Add your own features
  4. Move to the next project: House Price Prediction

Troubleshooting

Import errors?

Plots not showing?

Need help?

Why Start Here?


Ready? Go to 16-projects-beginner/project-02-iris-classification/ and start coding!