Hands-On Project Collection

63 Real-World AI Projects

A build-it-yourself companion course across ML, Deep Learning, NLP, Generative AI, and AI Agents. Every project comes with documented Python, a shared chat UI, automated tests, and a proper README. It's a portfolio you can show off and adapt for production. Plus 10 full-stack capstone products, one per domain, each with a full build brief.

For coders & non-coders ยท ๐ŸŸข Beginner ยท ๐ŸŸก Intermediate ยท ๐Ÿ”ด Advanced ยท click any card to read the code & docs

๐Ÿ“Š

Machine Learning 10 projects

Classic algorithms, training & tuning

01๐ŸŸข

Customer Churn

Flags telco subscribers likely to cancel; compares LogReg / RF / XGBoost + a stacking ensemble, reports ROC-AUC and the top churn drivers.

scikit-learnXGBoost
View code & docs โ†’
02๐ŸŸข

House Prices

Price regression comparing Ridge / RF / Gradient Boosting + stacking; reports Rยฒ/MAE/RMSE and the features that drive price.

scikit-learn
View code & docs โ†’
03๐ŸŸก

Fraud Detection

Imbalanced credit-card fraud with SMOTE oversampling + multi-algorithm stacking, tuned for recall.

scikit-learnimbalanced-learn
View code & docs โ†’
04๐ŸŸก

Credit Risk

Loan-default classifier (LogReg / RF / GBM + stacking) with feature-importance explanations.

scikit-learn
View code & docs โ†’
05๐ŸŸข

Breast-Cancer Diagnosis

Explainable diagnosis on UCI Wisconsin; multi-algorithm + stacking with clinician-checkable importances.

scikit-learn
View code & docs โ†’
06๐ŸŸก

Customer Segmentation

RFM features from raw transactions; KMeans vs Agglomerative vs DBSCAN scored by silhouette, labelled segments.

scikit-learn
View code & docs โ†’
07๐ŸŸก

Demand Forecasting

Forecasting as supervised regression on lag + calendar features vs a seasonal-naive baseline; MAE/RMSE/MAPE.

scikit-learn
View code & docs โ†’
08๐Ÿ”ด

Stock Movement

Technical features โ†’ chronological split (no look-ahead leakage) โ†’ honest backtest of long/flat vs buy-and-hold.

scikit-learnyfinance
View code & docs โ†’
09๐ŸŸก

Movie Recommender

SVD matrix factorization vs mean baselines on MovieLens, held-out RMSE + top-k recommendations.

scikit-learn
View code & docs โ†’
10๐Ÿ”ด

AutoML + Optuna

Capstone: an Optuna study that tunes a gradient-boosting model, with a default-vs-tuned comparison and an optimization-history chart.

Optunascikit-learn
View code & docs โ†’
๐Ÿง 

Deep Learning 10 projects

PyTorch: training, transfer learning, fine-tuning

01๐ŸŸข

CNN from Scratch

A SimpleCNN + training loop on Fashion-MNIST that classifies example images.

PyTorchtorchvision
View code & docs โ†’
02๐ŸŸก

Transfer Learning

Swaps ResNet-18's head, freezes the backbone, fine-tunes on any ImageFolder dataset.

PyTorchtorchvision
View code & docs โ†’
03๐Ÿ”ด

Pneumonia X-ray

Fine-tuned ResNet-18 (normal vs pneumonia) + a from-scratch Grad-CAM overlay for explainability.

PyTorchGrad-CAM
View code & docs โ†’
04๐ŸŸก

Object Detection

A YOLO11 detector: upload an image and get back an annotated image plus a table of detections.

Ultralytics YOLO11
View code & docs โ†’
05๐Ÿ”ด

U-Net Segmentation

A compact U-Net with skip connections, pixel-wise training loop, input-vs-mask visualisation.

PyTorch
View code & docs โ†’
06๐ŸŸก

Traffic Signs

A colour-image CNN over GTSRB 32ร—32 crops, trained and evaluated in the chat UI.

PyTorchtorchvision
View code & docs โ†’
07๐ŸŸก

LSTM Forecasting

An LSTM that predicts the next value from a window, then forecasts multiple steps recursively.

PyTorch
View code & docs โ†’
08๐ŸŸก

Speech Emotion

Audio โ†’ MFCC features โ†’ MLP classifier (librosa, with a numpy spectral fallback so it runs offline).

PyTorchlibrosa
View code & docs โ†’
09๐Ÿ”ด

Face Verification

A CNN that maps a face to an L2-normalised embedding, then verifies pairs by cosine similarity.

PyTorch
View code & docs โ†’
10๐Ÿ”ด

ViT Fine-Tune

Capstone: a Vision Transformer with a swapped head, a fine-tune loop, and optional Weights & Biases sweeps.

PyTorchW&B
View code & docs โ†’
๐Ÿ’ฌ

NLP 10 projects

Classic NLP โ†’ transformers โ†’ LLM fine-tuning

01๐ŸŸข

SMS Spam

TF-IDF comparing Naive Bayes / LogReg / Linear SVM; paste a message, get spam/ham + confidence.

scikit-learn
View code & docs โ†’
02๐ŸŸข

Sentiment

TF-IDF classifier comparison that scores any review; documents the DistilBERT fine-tune path for SOTA.

scikit-learnDistilBERT
View code & docs โ†’
03๐ŸŸก

Fake News

TF-IDF NB / LogReg / SVM classifier that scores any headline.

scikit-learn
View code & docs โ†’
04๐ŸŸก

Named Entity Recognition

A rule-based extractor in the chat UI; documents the fine-tuned BERT / spaCy production path.

spaCyHF Transformers
View code & docs โ†’
05๐ŸŸก

Summarization

A faithful extractive summarizer (frequency-scored sentences) + the documented BART abstractive path.

HF TransformersBART
View code & docs โ†’
06๐ŸŸก

Topic Modeling

Compares NMF (on TF-IDF) and LDA (on counts), shows top words per topic, matches new docs to a topic.

scikit-learn
View code & docs โ†’
07๐ŸŸก

Machine Translation

A chat translator: an offline word-lookup demo plus the real NLLB-200 path via Transformers.

HF TransformersNLLB-200
View code & docs โ†’
08๐ŸŸก

Question Answering

A TF-IDF sentence-relevance baseline over your context + the SQuAD BERT span-extraction path.

scikit-learnBERT
View code & docs โ†’
09๐Ÿ”ด

LLM Fine-Tune (LoRA/QLoRA)

16 GB GPU: Alpaca-format instruction-data prep plus a complete Unsloth QLoRA training script.

UnslothQLoRAHF
View code & docs โ†’
10๐ŸŸก

Semantic Search

A TF-IDF rรฉsumรฉ โ†” job matcher + the sentence-transformer dense-embedding upgrade.

scikit-learnsentence-transformers
View code & docs โ†’
โœจ

Generative AI 10 projects

LLM apps, RAG, image/video, local inference, guardrails

01๐ŸŸข

Prompt Playground

Multi-provider chat (OpenAI / Anthropic / Ollama / offline mock) that shows which model answered + a chain-of-thought transform.

LLM client
View code & docs โ†’
02๐ŸŸก

RAG: Chat with Docs

Chunk โ†’ retrieve โ†’ answer with citations over your text or PDFs.

embeddingspypdf
View code & docs โ†’
03๐Ÿ”ด

GraphRAG

Entity extraction โ†’ a networkx co-occurrence graph โ†’ neighbourhood retrieval โ†’ grounded answer.

networkx
View code & docs โ†’
04๐ŸŸก

Local LLM Chat

Chats against a local model via Ollama or a vLLM OpenAI-compatible server, with history.

OllamavLLM
View code & docs โ†’
05๐Ÿ”ด

1-bit LLMs (BitNet)

From-scratch ternary (absmean) quantization: it converts weights to {โˆ’1,0,1} and reports the compression and the error.

numpyBitNet
View code & docs โ†’
06๐ŸŸก

Image Generation

Text-to-image: a procedural offline demo plus the real diffusers path (SD 3.5 / FLUX).

diffusers
View code & docs โ†’
07๐Ÿ”ด

Video Generation

Text-to-video: a procedural GIF offline demo plus the diffusers LTX-Video and hosted-API path.

diffusersLTX-Video
View code & docs โ†’
08๐ŸŸก

Document Intelligence / OCR

scan/PDF โ†’ OCR โ†’ field extraction; extraction tested offline, modern OCR engines documented.

DoclingQwen2.5-VL
View code & docs โ†’
09๐ŸŸก

Structured Extraction

A Pydantic schema validated on the way in: regex offline, PydanticAI (LLM fills the schema) in production.

PydanticPydanticAI
View code & docs โ†’
10๐Ÿ”ด

Evals + Guardrails

LLMOps capstone: quality metrics (exact-match, faithfulness, recall) and guardrails (PII, banned content), all pulled into one report.

RagasDeepEval
View code & docs โ†’
๐Ÿค–

AI Agents 13 projects

Frameworks & real agent types

01๐ŸŸข

ReAct from Scratch

A ReAct executor with a safe calculator + lookup tool and a transparent Thought/Action/Observation trace.

pure Python
View code & docs โ†’
02๐ŸŸก

SQL Agent

Natural language โ†’ SQL over a real SQLite DB; LangGraph + a schema-aware LLM in production.

SQLiteLangGraph
View code & docs โ†’
03๐ŸŸก

Web / Browser Agent

Navigates a site and extracts answers with a visible trace; browser-use / Playwright on a live browser in production.

browser-usePlaywright
View code & docs โ†’
04๐ŸŸก

Research Agent

Searches a corpus, ranks sources, writes a cited synthesis; CrewAI + a web-search tool in production.

CrewAI
View code & docs โ†’
05๐ŸŸก

Multi-Agent Content Team

A researcher โ†’ writer โ†’ editor pipeline that turns a topic into an article, showing each role's output.

CrewAI
View code & docs โ†’
06๐ŸŸก

Conversational Multi-Agent

A Solver โ†” Critic dialogue that refines an answer over rounds, with the full transcript.

AutoGenAG2
View code & docs โ†’
07๐ŸŸก

Type-safe Tool Agent

Tools with Pydantic arg models + validators and a router that validates before executing.

PydanticAIPydantic
View code & docs โ†’
08๐Ÿ”ด

A2A: Across Frameworks

An A2A message schema + agent cards; two cross-framework agents collaborate on one task.

A2A protocol
View code & docs โ†’
09๐Ÿ”ด

Healthcare Agent

Guideline-RAG wrapped in safety rails: emergency escalation, refusal to diagnose/prescribe, disclaimer on every answer.

RAGguardrails
View code & docs โ†’
10๐ŸŸก

Finance Agent

A finance analyst over a financials table (SQLite) with a no-advice guardrail; RAG over 10-Ks in production.

SQLiteRAG
View code & docs โ†’
11๐Ÿ”ด

Voice Agent

An STT โ†’ LLM โ†’ TTS pipeline; the text orchestration is tested offline, the audio edges are documented.

WhisperTTS
View code & docs โ†’
12๐ŸŸก

Guardrails / Safety

An input rail (jailbreak / disallowed-request blocking) + an output rail (PII masking) wrapping a model.

NeMo GuardrailsGuardrails AI
View code & docs โ†’
13๐Ÿ”ด

Agent Harness

Capstone: routes a task to the right skill, retries, and returns a full trace plus metrics; Claude Agent SDK or LangGraph with a tracer in production.

Claude Agent SDKLangfuse
View code & docs โ†’
๐Ÿš€

Capstone Products 10 projects

End-to-end, one per domain ยท full build briefs

01๐Ÿ”ด

Clinical Decision Support & Triage

Guideline-grounded triage and Q&A with hard safety rails, an audit log, and a clinician review queue, in a private cloud.

HealthcareRAG + Agents
View full brief โ†’
02๐Ÿ”ด

Banking Support & Fraud Assistant

Policy Q&A plus a SQL agent over transactions, dispute intake, fraud flagging, and a no-advice guardrail.

FinanceSQL Agent
View full brief โ†’
03๐Ÿ”ด

Adaptive Tutor & Course Builder

A Socratic tutor that hints without leaking answers, auto-builds quizzes and lesson plans, and grades with rubrics.

EducationTutoring
View full brief โ†’
04๐Ÿ”ด

Recruitment & People-Ops Copilot

Bias-aware resume-to-role matching, interview kits, an employee policy bot, and a recruiter dashboard.

HRSemantic Match
View full brief โ†’
05๐Ÿ”ด

Property Discovery & Deal Analyzer

Natural-language and geo property search, vision tagging, contract extraction, and a deal-analysis agent.

Real EstateVision + RAG
View full brief โ†’
06๐Ÿ”ด

Enterprise Knowledge Search

Hybrid keyword and vector search across Drive, Confluence, and Slack, with permission-aware GraphRAG.

SearchGraphRAG
View full brief โ†’
07๐Ÿ”ด

No-Code AI Agent Builder

A no-code visual agent builder on Copilot Studio and Azure AI Foundry, with governance and built-in evals.

No-CodeCopilot Studio
View full brief โ†’
08๐Ÿ”ด

Azure Document & Call Intelligence

Built only on Azure: Document Intelligence, Speech, OpenAI, and AI Search, with Content Safety guardrails.

AzureOCR + Speech
View full brief โ†’
09๐Ÿ”ด

Insurance Policy & Claims Assistant

Policy Q&A with clause citations, OCR claims intake, a coverage rules engine, and an adjuster dashboard.

InsuranceOCR + Rules
View full brief โ†’
10๐Ÿ”ด

Investment Research & Portfolio

RAG over filings plus a SQL agent over holdings, risk analysis, and a strict no-advice guardrail.

InvestmentRAG + SQL
View full brief โ†’