AI Fundamentals Lab

Author: Daniel Jordan Viray

by Daniel Jordan Viray. Hands-on notes on the fundamentals of artificial intelligence — computer vision, deep learning, and getting models into the real world. Every post walks through real code on real data and images, written while learning to build AI systems from the ground up.

Computer Vision

Building a Self-Driving Car - Removing Shadows from Images to Prevent Lane Detection Errors

June 2, 2025

Building a self-driving car, step one: strip shadows out of dashcam images so lane detection stops mistaking shadows for lane lines.

Building a Self-Driving Car - Lane Detection Using Hough Transform (Inferring Straight Lines in an Image)

June 6, 2025

From a raw dashcam image to detected lane lines — using the Hough transform to infer straight lines from edge pixels.

Training an AI Model to Detect Human Emotions from Pictures of Faces

September 25, 2025

A first hand-coded PyTorch model that reads human emotions from pictures of faces.

Computer Vision AI Models: Multi-Label Classification and Regression

November 22, 2025

Beyond single labels: multi-label classification and regression for computer vision, on real image data.

Deep Learning

Image Recognition Model Using Deep Learning - Car, Cyclist, or Tree?

June 14, 2025

Car, cyclist, or tree? Training a deep learning image classifier from scratch.

Improving AI Models: Image Augmentation, Loss Function Engineering, and Fine-tuning Training Parameters

November 9, 2025

A dog-breed classifier, made better: image augmentation, loss-function engineering, and fine-tuning training parameters.

Training a State-of-the-Art Model

November 25, 2025

The techniques that take a computer vision model from decent to state-of-the-art, on Imagenette.

Data Munging with fastai's Mid-Level API

January 4, 2026

Writing custom data transforms with fastai's mid-level API — a deeper look at the layered API.

Shipping Models

Deploying a Deep Learning Model as a Public Web Application

June 22, 2025

From notebook to the internet: deploying a trained deep learning model as a public web app with Hugging Face and Gradio.

About

Daniel Jordan Viray

Daniel has been working professionally in data analytics since 2017. He is now leveraging his skills in math and data to build artificial intelligence. He holds bachelor’s and master’s degrees in economics from UCLA and Imperial College London. More at danieljordanviray.com.

No topics match that filter.