Projects
Every project in detail: the problem, how I approached it, how it is built, and what it achieved. Results are quoted from the notebooks and READMEs that recorded them, and the demos run in your browser.
Jump to a project (26)
- 01AnalystOS
- 02Voice AI Patient Registration
- 03Veriflow
- 04EDIConnect
- 05Netflix Q&A Assistant
- 06English to Urdu Translation
- 07Video Understanding Pipeline
- 08CNN vs Vision Transformer
- 09Lazy Snapping Segmentation
- 10Face Recognition with KNN
- 11Rosenblatt's Perceptron
- 12Convolution from Scratch
- 13Cryptarithmetic Search
- 14Bakery Lock Simulator
- 15Single-Lane Bridge
- 16Bitcoin Price Forecasting
- 17Urdu Sentence Segmentation
- 18Grocery Detection and Billing
- 19CNN for CIFAR-10
- 20Hyperparameter Search for CNN and RNN
- 21S&P 500 Forecasting App
- 22Electronica Data Warehouse
- 23Amazon Product Data Integration
- 24Common Voice Urdu EDA
- 25Audio Similarity with LSH
- 26Instagram Engagement KPIs
AnalystOS
An autonomous data analyst that shows its work: every number in an answer traces back to the query that produced it.
Live on free tiers (Vercel, Render, Groq), so you can register and ask questions; a read-only replay of recorded analyses is also on GitHub Pages.
AnalystOS demo, 44 seconds: question, plan, scope check, verified answer, chart, and evidence (the model wait is sped up 24x)

Overview
Upload a CSV or Excel workbook, or connect PostgreSQL, MySQL, or SQLite, and ask a business question. AnalystOS plans a multi-step analysis, runs validated read-only SQL and sandboxed Python, detects anomalies, breaks changes down into their drivers, draws charts, and writes a report.
Problem
Chat-with-your-data tools let a language model do arithmetic and state numbers it never computed. For business decisions, a confident wrong number is worse than no answer, and generated SQL and code are a safety risk in their own right.
Approach
The model plans; deterministic tools compute. Tools emit findings with values, formulas, entities, and periods, and the drafted answer is verified sentence by sentence against them: numbers that do not trace to a finding are removed. SQL is validated on its syntax tree and run in read-only sessions, and generated Python runs in an isolated container with no network.
What it does
- Agent loop of plan, execute, observe, and revise over 18 typed tools, with conversation memory and clarifying questions.
- Scope check that catches plans adding filters nobody asked for or dropping a period the question named.
- SQL validation with sqlglot (single read statement, no DML or DDL, allowlists, PII columns count-only) plus read-only database sessions.
- Sandboxed Python in an ephemeral Docker container: no network, read-only filesystem, non-root, CPU, memory, and time limits.
- Statistics, anomaly detection (z-score, IQR, seasonal baselines, Isolation Forest), contribution analysis, charts, and HTML, PDF, and Excel reports.
- Scheduled analyses with alerts, team roles and sharing, and OpenTelemetry traces, Prometheus metrics, and a Grafana dashboard.
Architecture
Recorded results
- Benchmark pass rate
- 93.3%
- 67 cases on five datasets, mean of 2 runs, Qwen3 8B running locally
- Source: AnalystOS/README.md, Evaluation results
- Unsupported numbers in final answers
- 0%
- Down from 2.4% in model first drafts; 0% across all four models compared
- Source: AnalystOS/README.md, Evaluation results
- Unsafe SQL executed
- 0
- Safety cases passed 5 / 5 in both runs
- Source: AnalystOS/README.md, Evaluation results
- Automated tests
- 370 passed
- 196 backend unit, 52 integration, 122 frontend unit, plus end-to-end tests that also pass against the live deployment
- Source: AnalystOS/README.md, Test report
Technical challenges
- Ollama's default 4,096-token context silently truncated prompts, so the 8B model invented column names until the context was raised to 16K.
- The benchmark exposed real bugs, each fixed with a regression test: dropped periods, a number computed over all years accepted for a one-year sentence, and NaN values breaking JSON storage.
Engineering decisions
- The language model never does arithmetic; trust comes from deterministic findings and verification, not from the model.
- Measure, don't estimate: a 67-case benchmark on five datasets, run repeatedly, with every failure listed and explained.
- One OpenAI-compatible interface, so local models (Ollama), hosted GPUs (vLLM on Modal), and commercial APIs are interchangeable.
- A public deployment on free tiers with no payment card: the frontend on Vercel, the API with Postgres and Redis in one 512 MB Render container, and Qwen 3.8 27B on Groq, with rate limits waited out instead of failing.
Limitations
- Model quality drives answer quality: verification guarantees shown numbers are traceable, not that the agent asked the best question of the data.
- Speed depends on where the model runs: about 78 s per question at the median on a laptop GPU and 16 s on a hosted A10G GPU; the free live deployment sleeps when idle and waits out the model provider's rate limits.
- Verification is lexical, so a correct number paired with a misleading description can slip through, though it stays auditable.
Voice AI Patient Registration
Call a phone number and register as a new patient by talking to an AI intake agent.
Deployed on Render with a live U.S. phone number; the REST API documentation is public and patient data requires an access key.
Overview
A voice agent that registers U.S. patients over the phone. It collects the standard demographic dataset conversationally, validates every answer, reads the record back, and saves to PostgreSQL only after the caller confirms. Staff see registrations and call transcripts through an authenticated REST API and an admin dashboard.
Problem
An LLM is good at conversation but cannot be trusted to keep a record correct: it can skip steps, mishear names, alter values, or claim a save that never happened. Patient intake needs every field valid and nothing written without explicit confirmation.
Approach
The model handles natural language; the server owns the conversation state. Every captured value goes through a tool that validates it with the same rules as the API and stores it in a per-call draft. A review tool reads the exact draft back and records its hash, and the save tool refuses to write unless the caller confirmed and the draft is unchanged since that read-back. Saves are idempotent per call, so a retried tool call cannot create a duplicate patient.
What it does
- Phone intake through Vapi: Deepgram nova-3 speech recognition, GPT-4.1 with tool calling, text-to-speech, and barge-in.
- Server-side registration state machine: validate on capture, read back, confirm, then save.
- Returning-caller flow: a known phone number triggers date-of-birth verification before any name is revealed.
- Handles corrections, out-of-order answers, silence, dropped calls, and Spanish-speaking callers.
- REST API with filters, pagination, partial updates, and soft delete, plus a Next.js admin dashboard served by the same container.
- PII masked in logs by default; the webhook and the dashboard are authenticated separately.
Architecture
Recorded results
- Automated tests
- 98 passed
- Against real PostgreSQL, locally and in GitHub Actions CI
- Source: voice-ai-patient-registration/README.md, Testing
- Live phone calls
- 7 calls, 5 registrations
- To the production number on 2026-10-10, exercising validation, corrections, and redirects
- Source: voice-ai-patient-registration/README.md, Testing
Technical challenges
- Live calls showed the model skipping the optional-fields question while claiming it had asked. The server now enforces that step instead of trusting a flag set by the model.
- Speech recognition misheard surnames and cities, so the agent asks for spellings one at a time and questions implausible place names.
- The model once altered a spoken birth year; it is now told never to change values, with the read-back and confirmation as the backstop.
Engineering decisions
- Keep correctness in code, not in the prompt: one validation module is shared by the API schemas and the voice tools.
- PostgreSQL CHECK constraints, enums, and partial indexes as a second line of validation behind Pydantic.
- One Docker image serving the API and the static dashboard, so the browser never holds the API key and there is no CORS surface.
Limitations
- Not HIPAA-compliant: Vapi and OpenAI process audio and text without a BAA in this setup.
- A single shared admin key rather than per-user accounts.
- Hosted on free tiers, so the first request after a long idle period can be slow.
Veriflow
An agent platform that has to prove every claim it makes before a human signs off.
Complete backend and frontend with a documented test suite; runs locally with Docker Compose. No public deployment.



Overview
Veriflow takes an investigation objective, such as finding which B2B SaaS customers are at risk of churning and why, and returns a report in which every claim is tied to evidence and checked before it is shown. Any customer-facing action it proposes waits for a human approval.
Problem
LLM agents are good at producing fluent conclusions and bad at telling you which of those conclusions are supported. In an account-management setting, an unsupported claim that reaches a customer is worse than no claim at all.
Approach
A planner turns the objective into a task graph. Specialised agents gather usage data, retrieve documents with customer-scoped pgvector search, and score risk. Every claim the investigator writes then goes through three verification stages: ID validation, lexical rules, and a model verdict that the rules can cap. Only supported claims reach the report, and the single write tool in the registry creates an approval record instead of acting directly.
What it does
- Planner that compiles an objective into a dependency graph of tasks, executed by Celery workers.
- Seven agents: four LLM-backed (Planner, Investigator, Verifier, Reporter) and three deterministic (Data, Risk, Retrieval).
- Customer-scoped retrieval over pgvector with an HNSW cosine index.
- Three-stage claim verification with evidence links on every claim in the final report.
- Twelve-tool registry with permissions; the only write tool proposes an action for human approval.
- Evaluation CLI covering ranking quality, retrieval scope, and verification outcomes.
- Next.js operator console: runs, live task events, reports, customers, approvals, evaluation, and system health.
Architecture
Recorded results
- Risk ranking ROC-AUC
- 0.841
- Synthetic 3,000-customer dataset
- Source: AgenticAIPlatform/README.md, Evaluation results
- Precision at 25
- 0.96
- Top 25 accounts by risk score
- Source: AgenticAIPlatform/README.md
- Claims supported after verification
- 81.8%
- 5-account run, 33 claims; 0 rejected claims reached the report
- Source: AgenticAIPlatform/README.md
- Cost of that run
- $0.0074
- 8 LLM calls, 26,553 tokens
- Source: AgenticAIPlatform/README.md
Technical challenges
- Keeping a model verdict from overriding hard evidence: the rule stages cap what the model is allowed to mark as supported.
- Making runs observable while they execute, which meant persisting task events rather than only final state.
- Running the full system without paid keys: a deterministic fake LLM provider and a local hashed embedder keep the pipeline testable end to end.
Engineering decisions
- An OpenAI-compatible HTTP client instead of a vendor SDK, so any compatible endpoint can be swapped in.
- Deterministic agents wherever a model is not needed (data access, risk scoring, retrieval) to keep cost and variance down.
- Synthetic data from 12 customer personas generated from templates, so the dataset is reproducible and contains no real customer information.
Limitations
- Evaluated on synthetic data only.
- Single tenant, with development-level API-key auth.
- The default local embedder is a hashed bag-of-features vector, not a semantic model; semantic retrieval needs an embedding API key.
EDIConnect
Hybrid rule-based and LLM-assisted mapping for B2B EDI documents.
Team final-year project; the repository is private.
EDIConnect walkthrough, 2 minutes 35 seconds
Overview
EDIConnect maps Electronic Data Interchange documents between standards such as Tradacoms, X12, and HL7, and toward ERP-ready structures. Standard cases go through deterministic rules; the hard ones get help from an LLM; every output is validated.
Problem
EDI mapping is still largely manual. Each trading partner and standard has its own segments, delimiters, and loops, and a mapping mistake silently corrupts orders and invoices downstream.
Approach
A hybrid pipeline: parse and normalise the input, apply rule-based mappings for well-understood segments, and use LLaMA 3.1 assistance for complex or ambiguous ones. Segment meanings are embedded and semantically matched to target fields, and automated syntax and consistency checks validate the result before export.
What it does
- Parsing of segments, delimiters, and loops across Tradacoms, X12, and HL7.
- Rule-based mapping for standard cases, so common documents are deterministic.
- LLM-assisted mapping for complex cases.
- Embedding-based semantic matching of EDI elements to target schema fields.
- Automated syntax and consistency validation of generated output.
Architecture
Engineering decisions
- Rules first, model second: deterministic mappings where the standard is unambiguous keeps output auditable and cheap.
- Validation as a separate stage, so LLM suggestions never reach the output unchecked.
Limitations
- Built as a team project; code is in a private repository and not linked here.
Netflix Q&A Assistant
A RAG chatbot that knows when to look something up exactly instead of searching for it.
Complete Streamlit app. Runs locally with a free Groq API key.
Overview
A conversational assistant over the Netflix titles catalogue. Questions about directors are answered by an exact lookup over the dataset; everything else goes through retrieval-augmented generation with conversation memory.
Problem
Pure vector search is unreliable for exact attributes: a question like 'what did this director make' wants every matching row, not the four most similar chunks.
Approach
Route the question. Director questions hit a deterministic pandas lookup that returns complete answers. Open questions go to a ConversationalRetrievalChain over a Chroma index of MiniLM embeddings, answered by Llama 3.1 8B on Groq at temperature 0.
What it does
- Hybrid routing between exact lookup and semantic retrieval.
- Local sentence-transformer embeddings (all-MiniLM-L6-v2), so no embedding API is needed.
- Conversation memory for follow-up questions.
- Retrieved source titles shown under each answer, with a badge for which route answered.
Architecture
Technical challenges
- Exact-match routing must not be triggered by short titles that happen to appear inside an unrelated question.
Engineering decisions
- Temperature 0 and k=4 retrieval to keep answers grounded in retrieved rows.
Limitations
- Needs a Groq API key (free tier) for generation.
- The Chroma index is rebuilt in memory on cold start.
English to Urdu Translation
A Transformer trained from scratch on a 24,525-pair parallel corpus.
Training and evaluation notebook with recorded results. No hosted model.
Overview
An encoder-decoder Transformer built with PyTorch and trained from scratch to translate short conversational English sentences into Urdu, alongside tokenizer and back-translation experiments.
Problem
Urdu is right-to-left, morphologically rich, and low-resource compared with European languages, so off-the-shelf tokenization and small datasets both work against you.
Approach
Separate SentencePiece tokenizers for English and Urdu (3,000 tokens each), a 4-layer encoder and 4-layer decoder Transformer (d_model 512, 8 heads), gradient clipping, and greedy decoding. mBART-50 was used to generate back-translated data for augmentation.
What it does
- Subword tokenization trained per language with SentencePiece, compared with HF BPE tokenizers.
- Transformer encoder-decoder trained from scratch.
- Back-translation of 100 lines with facebook/mbart-large-50-many-to-many-mmt.
- sacreBLEU evaluation on held-out sentences.
Architecture
Recorded results
- sacreBLEU
- 20.41
- 50 held-out test sentences
- Source: MT_EngtoUrdu.ipynb, cell 9
- Training loss
- 4.16 to 0.73
- Epoch 1 to epoch 10
- Source: MT_EngtoUrdu.ipynb
Technical challenges
- Fine-tuning mBART-50 itself ran out of GPU memory on Colab, so it was used for back-translation only.
Limitations
- The BLEU score is on a small 50-sentence sample.
- The encoder was trained with a causal mask, which limits how much source context it uses; fixing this is the first planned improvement.
Video Understanding Pipeline
Speech, frames, and a language model, run in parallel to summarise a video.
Working Colab prototype with recorded output.
Overview
A multimodal pipeline that turns a video into a written summary. Audio is transcribed with Whisper, frames are sampled once per second and captioned, and Phi-3 writes the summary from both streams.
Problem
Neither the transcript nor the frames tell the whole story on their own, and running three large models one after another is slow.
Approach
Split the work into three concurrent stages on threads: extract and transcribe audio in 30-second chunks, caption one frame per second, then prompt Phi-3 mini with the captions and transcript together.
What it does
- Audio extraction and chunked transcription with openai/whisper-small.
- One-frame-per-second sampling and captioning with nlpconnect/vit-gpt2-image-captioning.
- Summary generation with microsoft/Phi-3-mini-128k-instruct.
- Parallel execution of the stages with Python threads.
Architecture
Recorded results
- Output
- Qualitative
- Recorded summary of a wildlife clip; no automatic metric
- Source: code.ipynb, cell 10
Limitations
- Runs on a Colab GPU; the input path is fixed to /content/video.mp4.
- No quantitative evaluation of summary quality.
CNN vs Vision Transformer
What transfer learning buys on CIFAR-10: 69% from scratch, 97% fine-tuned.
Notebook with recorded results and confusion matrices.

Overview
A controlled comparison on CIFAR-10 between a small convolutional network trained from scratch and a pretrained ViT-Tiny fine-tuned at 224 pixels. A from-scratch ViT (patch 4, depth 6, 8 heads) is also implemented.
Problem
Vision Transformers lack the locality bias of convolutions and are data hungry; the question is how much pretraining changes that on a small dataset.
Approach
Train both models for 10 epochs with matched evaluation: a two-block CNN with BatchNorm and dropout, and timm's vit_tiny_patch16_224 fine-tuned with AdamW at 1e-4 and a step learning-rate schedule.
Architecture
Recorded results
- SimpleCNN validation accuracy
- 69.28%
- 10 epochs, from scratch
- Source: Vit_Vs_CNN(CIFAR_10).ipynb, cell 12
- ViT-Tiny validation accuracy
- 97.33%
- 10 epochs, ImageNet-pretrained, fine-tuned
- Source: Vit_Vs_CNN(CIFAR_10).ipynb, cell 13
Limitations
- The validation split is the CIFAR-10 test set, so there is no separate held-out test.
- The from-scratch ViT is implemented but its training run is not recorded.
Lazy Snapping Segmentation
Paint a few strokes and let colour clusters separate foreground from background.
Notebook complete. The demo is a TypeScript reimplementation of the same algorithm.

Overview
Seed-based foreground segmentation in the spirit of Lazy Snapping. Red strokes mark foreground and blue strokes mark background; each stroke set is clustered into 64 colours with k-means, and every pixel goes to whichever side's clusters explain its colour better.
What it does
- K-means colour models (64 clusters) per seed set.
- Per-pixel likelihood as a sum of exp(-0.1 x distance) over centroids.
- Face recognition with a from-scratch KNN in the same assignment (see Face KNN).
Interactive demo
Runs in your browser with the notebook's settings: 64 k-means clusters per side, the same exp(-0.1 x distance) likelihood, and the same foreground rule. Two fixes: seeds are the image colours under each stroke (the notebook clustered the stroke colours themselves, which are pure red and blue), and the uint8 overflow in the output step is gone.
Limitations
- No graph-cut smoothing step, so boundaries are pixel-wise.
- In the notebook, seed colours were read from the stroke image rather than the photo, so its segmentation reduced to comparing each pixel with pure red and pure blue. The demo corrects this.
Face Recognition with KNN
A from-scratch nearest-neighbour classifier on 32 x 32 faces, compared with SVM and Naive Bayes.
Notebook with recorded results; the demo runs KNN on the repository's dataset in your browser.

Overview
Identification of 10 subjects from 1,700 grayscale 32 x 32 face images using a hand-written KNN, benchmarked against scikit-learn SVM and Gaussian Naive Bayes, with a 3D PCA view of the data.
Interactive demo
Loads the repository's 1,700-face dataset and runs the same KNN (k=7, Euclidean, L2-normalised rows) in your browser.
Recorded results
- KNN accuracy
- 0.96
- 200 test faces, k = 7
- Source: i211697_Q2.ipynb, cell 2
- SVM accuracy
- 1.00
- Same split
- Source: i211697_Q2.ipynb, cell 2
- Gaussian NB accuracy
- 0.85
- Same split
- Source: i211697_Q2.ipynb, cell 2
Rosenblatt's Perceptron
The original learning rule, implemented from scratch and animated.
Notebook with recorded result; the demo runs the same update rule live.

Overview
A single-layer perceptron with a step activation and the classic update rule, trained on linearly separable synthetic data with per-epoch error tracking and a decision-boundary plot.
Interactive demo
Same data recipe (labels from sign(x1 + x2)), step activation, and update rule. The points come from a seeded JavaScript generator rather than NumPy, so error counts per epoch differ from the notebook. Add your own points, or switch to XOR to watch it fail to converge.
Recorded results
- Accuracy
- 0.96
- 500 synthetic points, 20 epochs
- Source: Rosenblatt's Perceptron.ipynb, cell 3
Convolution from Scratch
The operation behind CNNs, written by hand and compared with SciPy.
Notebook complete; the demo runs the same convolution and correlation in your browser.

Overview
A manual 2D convolution and correlation implementation with stride and padding options, applied with edge, blur, and sharpen kernels and checked against scipy.signal.convolve2d.
Interactive demo
Stride, valid or same padding, and convolution versus correlation, as in the notebook. The Sobel and Prewitt presets use the standard kernels.
Cryptarithmetic Search
SEND + MORE = MONEY, solved by search, with the frontier on screen.
Notebook (inside a zip in the repository) with recorded solutions; the demo runs the searches step by step.

Overview
An AI-course assignment that treats a cryptarithmetic puzzle as a search problem over letter-to-digit assignments, comparing A*, depth-first backtracking, and breadth-first search.
Interactive demo
Breadth-first, depth-first backtracking, and a column-wise constraint search, each counting nodes expanded. Leading zeros are rejected, which the original DFS did not enforce.
Recorded results
- A* solution
- 9567 + 1085 = 10652
- SEND + MORE = MONEY
- Source: i211697_Laibakhawar_N.ipynb, cell 1
Bakery Lock Simulator
Lamport's mutual exclusion algorithm, one memory operation at a time.
C++ implementation; the demo simulates the canonical algorithm with a step-level scheduler.

Overview
Lamport's Bakery algorithm for N threads using pthreads and atomics. Threads take a ticket one larger than any they can see, then wait for every thread with a smaller (ticket, id) pair.
Interactive demo
Each thread is a state machine that yields after every shared read or write, so you can watch tickets being taken and compared. Turn off the choosing flags to see mutual exclusion break.
Limitations
- The C++ version deviates from the canonical algorithm: it re-takes tickets inside the wait loop, increments the ticket on unlock instead of clearing it, and uses relaxed memory ordering.
- Built and run, the original program prints the first thread entering the critical section and then hangs, a consequence of the unlock step. The simulator implements the canonical form instead.
Single-Lane Bridge
Cars, buses, a mutex, and two condition variables.
C++ implementation; the demo simulates the same rules.

Overview
A pthreads simulation of a single-lane bridge where cars and buses are threads. At most two cars may cross together, a bus crosses alone, and the two never share the bridge.
Interactive demo
Up to two cars at a time, or one bus alone. Toggle the original wake-up logic to reproduce its lost-wake-up stall, then switch to the fixed version.
Limitations
- On exit, a bus signals only the bus condition variable and a car broadcasts only to cars, so a bus waiting behind cars is never woken. The direction input is read but never used.
Bitcoin Price Forecasting
Regression baselines, stationarity tests, and walk-forward evaluation on daily BTC prices.
Notebook with recorded results; the demo re-runs the models on the repository's dataset.

Overview
Forecasting daily Bitcoin closing prices with linear and polynomial regression on time, Augmented Dickey-Fuller stationarity tests, ACF and PACF analysis, and rolling-window evaluation.
Interactive demo
Uses the repository's BTC-Daily.csv (2,651 days). Unlike the notebook's random split, the demo evaluates chronologically, which is the correct protocol for time series.
Recorded results
- Linear regression RMSE
- 10,160.62
- Random 80/20 split
- Source: i2112697_A4.ipynb, cell 7
- Polynomial (deg 2) RMSE
- 7,444.31
- Random 80/20 split
- Source: i2112697_A4.ipynb, cell 10
- ADF p-value, first difference
- 1.05e-13
- Close price p = 0.32 (non-stationary)
- Source: i2112697_A4.ipynb, cell 12
Urdu Sentence Segmentation
Rule-based sentence boundaries for Urdu, where punctuation alone is not enough.
Notebook complete; the demo runs the same rules on any Urdu text you paste.

Overview
A custom Urdu sentence tokenizer that combines punctuation with lists of sentence-final verbs and auxiliaries and guards on conjunctions, compared with Urduhack, plus SentencePiece subword training on an 11.5 MB Urdu corpus.
Interactive demo
The rule set from the notebook: sentence-final punctuation plus Urdu verb and auxiliary endings, with conjunctions as guards.
Recorded results
- Sentence similarity, passage 3
- 75.38%
- Cosine-similarity proxy, as recorded; not boundary F1
- Source: i21_1697.ipynb, cell 26
- Passages 1 and 2
- 66.37% / 67.96%
- Same metric, reproduced from the notebook code on its other two passages
- Source: Reproduced from i21_1697.ipynb cells 19, 22, 25, 26
Grocery Detection and Billing
Open-vocabulary detection turns a photo of produce into a bill.
Detection notebook with recorded output. The Flask front end depends on a hosted model endpoint that is no longer available.

Overview
Zero-shot detection with YOLO-World: set the class list to the menu items, detect them in a photo, and sum their prices into a bill.
Recorded results
- Recorded run
- 4 classes, bill 46.0
- Tomato, Potato, Cucumber, Green capsicum
- Source: AI_project (1).ipynb, cells 10 and 11
CNN for CIFAR-10
A compact Keras CNN, augmentation, and a learning-rate ablation.
Notebook with recorded results.

Overview
Three convolution blocks (32, 64, 128 filters) with max pooling, a dense layer, and dropout, plus experiments on augmentation and learning rate.
Recorded results
- Test accuracy
- 0.741
- Baseline, 10 epochs
- Source: CNN_for_CIFAR10.ipynb, cell 4
- With augmentation
- 0.742
- Rotation, shift, flip, zoom
- Source: CNN_for_CIFAR10.ipynb, cell 10
- Learning rate 0.01 / 0.1
- 0.425 / 0.101
- Same model; higher rates diverge
- Source: CNN_for_CIFAR10.ipynb, cell 15
Hyperparameter Search for CNN and RNN
Random search over nine hyperparameters for an MNIST CNN and an IMDB BiLSTM.
Script-style notebook with recorded results.
Overview
Random search over learning rate, depth, width, batch size, optimizer, activation, dropout, kernel size, and initialisation, with the best configuration retrained for 10 epochs.
Recorded results
- CNN test accuracy
- 0.9904
- MNIST, best sampled configuration
- Source: Hyperparametersearch_CNN_RNN.ipynb, cell 1
- BiLSTM test accuracy
- 0.8470
- IMDB sentiment, best sampled configuration
- Source: Hyperparametersearch_CNN_RNN.ipynb, cell 1
S&P 500 Forecasting App
Eight forecasting models behind one Streamlit interface.
Streamlit app and experiment notebook. Requires a user-supplied price CSV.
Overview
Upload a price series and explore SMA, EMA, RSI, MACD, decomposition, and stationarity tests, then compare ARIMA, SARIMAX, ETS, Prophet, SVR, hybrid ARIMA-ANN, ANN, and LSTM forecasts.
Recorded results
- Rolling ARIMA(3,1,3) test MSE
- 2,195.88
- S&P 500 closes, split at 2019
- Source: maincode.ipynb, cell 70
Limitations
- Some neural baselines in the notebook use test data during training or prediction, so their errors are optimistic.
Electronica Data Warehouse
A HYBRIDJOIN stream-relation join loading a star schema, then OLAP in SQL.
ETL and query code; the source CSVs are not in the repository.
Overview
Streams transactions through a HYBRIDJOIN-style join against master data, loads product, date, and customer dimensions plus a sales fact table, and runs drill-down, slicing, pivot, z-score anomaly, and view-based queries.
Amazon Product Data Integration
From nested scraped JSON to a normalised SQLite database.
Pipeline notebook with recorded outputs; raw scraped data is not in the repository.
Overview
Cleans product, colour, price, and review fields, lemmatises text with NLTK, downloads product images, and loads Product, Images, and Review tables into SQLite.
Recorded results
- Reviews loaded
- 87,398
- Exploded from nested review fields
- Source: AmazonData.ipynb, cell 28
- Image rows loaded
- 1,666
- Product images table
- Source: AmazonData.ipynb, cell 27
Common Voice Urdu EDA
What is actually inside an Urdu speech dataset.
Exploratory notebook with recorded statistics.
Overview
Metadata cleaning, demographic coverage, clip-duration statistics, and audio features (MFCC, chroma, spectral contrast, tonnetz) for Mozilla Common Voice Urdu.
Recorded results
- Validated clips
- 52,144
- Plus 6,839 unvalidated
- Source: i211697_laibakhwar_A2.ipynb
- Mean clip length
- 4,246 ms
- Across 196,558 clip durations
- Source: i211697_laibakhwar_A2.ipynb
Audio Similarity with LSH
MFCC fingerprints and MinHash banding to find similar tracks.
Notebook; outputs are partial.
Overview
Extracts MFCC features from a music corpus, builds MinHash signatures with 8 permutations in 4 bands, and retrieves tracks that share buckets with a query clip.
Instagram Engagement KPIs
Normalised engagement metrics and median baselines for fairer content comparison.
Dataset and Tableau workbook in the repository.
Overview
A KPI pipeline over a 29,999-post Instagram analytics dataset that compares posts against median baselines by media type and traffic source, feeding a Tableau workbook.
Coursework and smaller projects
Earlier university and practice work, kept for completeness.
A convolution plus mixture-of-experts acoustic model prototype and a Whisper baseline for Urdu.
PyTorchtorchaudioCTCWhisperNext-word prediction on Tiny Shakespeare with random versus Word2Vec embeddings.
PyTorchgensimFive-class sentiment from meme text with TF-IDF classifiers.
scikit-learnNLTKBag-of-words classifiers with requirements and design documents.
scikit-learnNLTKXGBoostCleaning, stemming, lemmatisation, n-grams, and WordPiece on news text.
NLTKTransformersMFCC extraction for the audio LSH project.
librosaStroke-seeded colour clustering (the Lazy Snapping Q1 notebook).
scikit-learnHinge-loss SGD on raw pixels for cats versus dogs.
NumPyscikit-imageDiabetes prediction with a hand-written KNN.
NumPypandasImputation, encoding, and derived features on the Titanic dataset.
pandasscikit-learnA Jira-like relational schema with a role-based Express front end.
MySQLExpressEJSSimulated sales events streamed through a Kafka topic.
Kafkakafka-pythonExpress and MongoDB REST API with JWT auth and calendar sync.
ExpressMongoDBJWTSocket.ioReact and MUI client for the To-Do API.
ReactViteMUIWeather-aware outfit suggestions.
ReactExpressMongoDBOpenWeatherMapPGM statistics, negatives, and run-length coding with hand-built data structures.
C++Layers as processes, neurons as threads, pipes between them.
C++pthreadsforkpipesTwo players on pthreads, coordinated through a message queue.
C++pthreads
Also on the resume
Projects whose code is not public. Described from the resume only.
Conversational RAG and Research Paper Agent
Document question answering with FAISS, embeddings, reranking, query rewriting, conversation memory, PDF parsing, summarization, and tool calling.
FAISSEmbeddingsRerankingTool calling