Welcome to STEM STAIRWAY hosted by UT Health San Antonio! This intensive program is designed to introduce educators to the fundamentals of programming and artificial intelligence. This will set everything up for your use of vibe coding
The primary goal of this module is to familiarize you with basic programming principles and introduce you to the world of machine learning. By the end of this workshop, you will:
- Understand fundamental programming concepts in Python
- Learn object-oriented programming principles
- Explore machine learning basics through hands-on projects
- Vibe Code Full Applications
This part is organized into two main modules:
- Lesson 1: Functions and Basic Programming Concepts
- Jupyter Notebook: DataTypes and Control FLow
- Gradient Descent with Mean Absolute Error (MAE)
- Linear Regression from Scratch
- Hands-on Experiments and Practice Exercises
- Data Visualization and Analysis
Before starting the workshop, you'll need:
- A computer with Python 3.8 or higher
- Basic familiarity with using a command line/terminal
- Curiosity and enthusiasm for learning!
A virtual environment keeps your project dependencies isolated from other Python projects on your system.
On macOS/Linux:
# Navigate to the workshop directory
cd STEM_STAIRWAY_2025_PART_1
# Create a virtual environment
python3 -m venv venv
# Activate the virtual environment
source venv/bin/activateOn Windows:
# Navigate to the workshop directory
cd STEM_STAIRWAY_2025_PART_1
# Create a virtual environment
python -m venv venv
# Activate the virtual environment
venv\Scripts\activateOnce your virtual environment is activated, install the required packages:
# Install all required packages
pip install -r requirements.txtTest that everything is working correctly:
# Test Python installation
python --version
# Test key packages
python -c "import numpy; print('NumPy version:', numpy.__version__)"
python -c "import matplotlib; print('Matplotlib version:', matplotlib.__version__)"
python -c "import jupyter; print('Jupyter version:', jupyter.__version__)"When you're done working on the workshop, you can deactivate the virtual environment:
deactivateBegin your journey in the Introduction_to_python/ directory:
# Navigate to Python module
cd Introduction_to_python
# Start with the Jupyter notebook for interactive learning
jupyter notebook jupyter_lesson.ipynbEach lesson builds upon the previous one:
- Lesson 1: Functions - Learn to write reusable code
- Jupyter Notebook - DataTypes and Control FLow
Once comfortable with Python, move to machine learning:
# Navigate to ML module
cd Introduction_to_machine_learning
# Run the complete lesson
python lesson.py
# Complete practice exercises
python practice.py