Shahzaib Mahar

AI/ML engineer

I build LLM and RAG systems and the ML pipelines around them: retrieval and vector search, demand forecasting, and drift monitoring, shipped as Python and FastAPI services with dashboards on top. Former machine learning engineer intern at FlyRank. I compare every model with a baseline on data it has not seen, and I publish the limitations next to the results.

Email meCV (PDF) – opens in new tabGitHub – opens in new tabLinkedIn – opens in new tab

Portrait of Shahzaib Mahar

Projects

Stockout Radar

Demand forecasting, full-stack ML app (team project)

Forecasts four-week product demand for small retailers and turns it into reorder recommendations from operator-entered stock levels.

A HistGradientBoosting model on 16 leakage-controlled features beats a moving-average baseline on aggregate error (MAE 59.2 vs 66.1 units). It wins on about 40% of individual products, and the write-up says so.

Stack
Python, FastAPI, Scikit-learn, PostgreSQL (Neon), Next.js, TypeScript, GitHub Actions
Links
Case study · Live app (login required) – opens in new tab · Source – opens in new tab

DriftWatch

Open source, ML monitoring

Detects shifts in production data distributions before they quietly degrade model performance.

Statistical drift detection with persistent baselines, run history and alerting, behind a React dashboard, REST API and Python SDK.

Stack
Python, FastAPI, React, TypeScript, PostgreSQL, NumPy, SciPy, Pytest
Links
Source on GitHub – opens in new tab

Nobody Copilot

Local AI engineering copilot, RAG

Answers questions about a codebase using retrieval over its own structure rather than arbitrary text chunks.

AST-based chunking keeps each function and class whole; FAISS search is followed by a re-ranking stage that drops near-matches that are irrelevant in context.

Stack
Python, FastAPI, FAISS, SentenceTransformers, SQLite
Links
Source on GitHub – opens in new tab

Finova

Personal finance platform, applied ML

Categorises spending, flags unusual transactions and forecasts budgets.

NLP categorisation with a correction UI that feeds fixes back into the model; Isolation Forest anomalies and Prophet 30-day forecasts; stress-tested on 20,000+ synthetic transactions.

Stack
Python, FastAPI, Streamlit, PostgreSQL, Scikit-learn, Prophet, Docker
Links
Source on GitHub – opens in new tab

Cinema-Sense

Semantic search, NLP

Finds movies by meaning instead of keywords.

5,000+ records embedded with all-MiniLM-L6-v2 and searched with FAISS; over-fetches neighbours, then filters deterministically so strict queries still return results.

Stack
Python, HuggingFace, FAISS, Streamlit, Pandas
Links
Source on GitHub – opens in new tab

Also: Disaster Management System – opens in new tab, a Java/Swing and MySQL relief-operations desktop app. More on GitHub – opens in new tab.

Experience

Machine Learning Engineer Intern, FlyRank

July to October 2026

  • Framed the content-refresh question, built the label and a leakage-aware feature set, and validated on held-out clients against a baseline.
  • Built Python ML pipelines for content ranking and search-performance analysis using NLP, vector search and FastAPI services.
  • Published the work as a public-safe repository and research paper on an anonymised dataset.

Education

BS Computer Science, Sukkur IBA University, Sukkur, Pakistan. 2024 to 2028 (expected).

Skills

AI and ML
RAG, LLM orchestration, time-series forecasting, gradient boosting, vector embeddings, FAISS, HuggingFace Transformers, SentenceTransformers, Scikit-learn, Prophet, NLP, AST parsing
Backend
FastAPI, Uvicorn, REST APIs, async Python, Docker
Languages
Python, TypeScript, Java, C++, SQL
Data
PostgreSQL, MySQL, SQLite, MongoDB, Pandas, NumPy
Tools
Git, GitHub, GitHub Actions, Streamlit, Plotly, Typer

Contact