Skip to content
View PSaanviBhat's full-sized avatar
  • Bengaluru, Karnataka
  • 08:48 (UTC +05:30)
  • LinkedIn in/psaanvi

Highlights

  • Pro

Block or report PSaanviBhat

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
PSaanviBhat/README.md

P Saanvi

AI/ML Engineer | Computer Science Student | Explainable AI & Quantitative ML

Bengaluru, India | Email | GitHub | LinkedIn


Profile Summary

I am an undergraduate Computer Science student at PES University specializing in Artificial Intelligence and Machine Learning. I design and build high-performance, data-driven AI systems and quantitative pipelines that solve real-world problems. My experience spans sensor telemetry, time-series anomaly detection, explainable AI (XAI) and deep learning. I focus on constructing production-grade ML architectures, robust ETL systems, and low-latency inference modules.


Technical Stack

Languages


Python C JavaScript MATLAB Assembly
ML & Quant


PyTorch TensorFlow NumPy Pandas Scikit-Learn SciPy OpenCV
Systems & Ledger


Solidity PostgreSQL SQLite MongoDB Docker Arduino Pytest Power BI
Web & DevOps


React Node.js Flask Streamlit HTML5 CSS3 Tailwind CSS Git GitHub Linux

Projects Portfolio

graph TD
    classDef default fill:#0d1117,stroke:#30363d,stroke-width:1px,color:#c9d1d9;
    classDef highlight fill:#161b22,stroke:#58a6ff,stroke-width:2px,color:#58a6ff;
    
    Me[P Saanvi: Core Projects Portfolio]:::highlight
    
    Me --> DL[AI/ML & Deep Learning]
    Me --> Systems[Systems & Ledger]
    Me --> Quant[Quantitative Finance]
    
    DL --> P1["Explainable Smart Grid Fault Detection<br/>(VAE + DSPOT + XGBoost)"]
    DL --> P2["Spatio-Temporal Respiration Classifier<br/>(CNN-Conformer + InfoNCE Loss)"]
    DL --> P3["Memora Cognitive Assistive Platform<br/>(RAG + Biometric ArcFace/ECAPA)"]
    DL --> P4["Reinforcement Learning Traffic Optimizer<br/>(PPO + Reward Shaping)"]
    
    Systems --> P5["Clinical Trial Data Management<br/>(Private Permissioned PoA/DPoS Blockchain)"]
    Systems --> P6["Fault-Tolerant ETL Pipeline<br/>(Pandas Vectorization + Power BI)"]
    
    Quant --> P7["Option Pricing Suite<br/>(Black-Scholes-Merton + Monte Carlo)"]
Loading

Smart Grid Fault Detector

Engineered a hybrid unsupervised-supervised anomaly detection pipeline achieving a 0.9959 F1-score and 96.85% classification accuracy in smart grid telemetry using VAEs and DSPOT adaptive thresholding.


View Details & Mathematics

Target Metrics:
  • Anomaly Detection F1-Score: 0.9959 (16x improvement in precision over Isolation Forest/One-Class SVM baselines).
  • Fault Classification Accuracy: 96.85% (0.9676 cross-validation F1).
DSPOT Threshold Optimization: $$V_{th} = X_p + \frac{Y_p}{\gamma} \left( \left(\frac{k}{n}\right)^{-\gamma} - 1 \right)$$ Flowchart:
Telemetry Data ➔ VAE Reconstruction ➔ DSPOT Adaptive Threshold ➔ Latent Space Augmentation ➔ XGBoost Classifier ➔ SHAP Explanations
          
Core Stack: VAEs, XGBoost, SHAP/TreeSHAP, Extreme Value Theory, Multivariate Sensor Telemetry.

Lung Sound Analysis

Developed a PyTorch-based sequential classifier using a Cross-Attention Conformer architecture with multi-task learning and InfoNCE contrastive alignment, achieving a record 47.25% ICBHI score.


View Details & Mathematics

Target Metrics:
  • Official ICBHI Score: 47.25% under strict patient-wise partitions.
  • Disease Pathologies Classification: 93.03% accuracy at 4.36ms/cycle latency.
Contrastive Alignment via InfoNCE Loss: $$\mathcal{L}_{\text{InfoNCE}} = -\log \frac{\exp(\text{sim}(q, k_+)/\tau)}{\sum_i \exp(\text{sim}(q, k_i)/\tau)}$$ Homoscedastic Uncertainty Optimization: $$\mathcal{L}_{\text{MTL}}(W) = \frac{1}{2\sigma_1^2}\mathcal{L}_1(W) + \frac{1}{2\sigma_2^2}\mathcal{L}_2(W) + \log(\sigma_1\sigma_2)$$ Core Stack: PyTorch, Signal Processing (Mel Spectrogram, CQT, CWT), Conformer, InfoNCE Loss, Multi-Task Learning.

Clinical Trial Ledger

Designed and deployed a private permissioned blockchain network using hybrid PoA + DPoS consensus and SHA-256 hashing to secure clinical data with a pre-chain ML fraud gate.


View Details & Security Flow

Target Metrics:
  • Fraud Gate Precision: 100% (86.82% accuracy) at 16.4ms inference latency.
  • Chain Validation Complexity: O(1) hash-chain lookup per transaction.
Consensus Flow:
Clinical Trial Record ➔ XGBoost Fraud Gate ➔ Hybrid PoA+DPoS consensus ➔ Solidity Validation ➔ IPFS (AES-256-GCM) ➔ Block Commit
          
Core Stack: Solidity, Blockchain (PoA/DPoS), AES-256-GCM, SHA-256, IPFS, XGBoost.

Memora Assistive Platform

Architected an end-to-end multimodal AI system integrating biometric face/voice recognition with a ChromaDB Retrieval-Augmented Generation memory pipeline for Alzheimer's patients.


View Details & Architecture

Target Metrics:
  • Memory Retrieval Latency: Sub-second (<1.0s).
  • Biometric Gates: ArcFace (facial) + ECAPA-TDNN (voice) identity recognition.
conversational Flow:
Whisper STT ➔ Qwen LLM (RAG over ChromaDB memory) ➔ Coqui TTS synthesis
          
Core Stack: ArcFace, ECAPA-TDNN, ChromaDB Vector DB, RAG, Qwen LLM, Whisper STT, Coqui TTS.

Option Pricing Suite

Implemented a quant suite featuring a Black-Scholes-Merton pricing engine, a Monte Carlo simulator with 95% confidence intervals, and a robust Implied Volatility solver.


View Details & Mathematics

Black-Scholes Call Valuation: $$C = S_t N(d_1) - K e^{-r(T-t)} N(d_2)$$ Portfolio Greeks Integration: Computes portfolio Greeks (Delta, Gamma, Theta, Vega, Rho) as weighted linear combinations across legs to enable real-time risk/strategy sensitivity analyses.

Core Stack: Python, NumPy, SciPy, Streamlit.

Fault-Tolerant ETL Pipeline

Engineered a production-grade Python ETL pipeline ingesting records from external REST APIs through automated schema normalization, vectorized Pandas transforms, and backoff decorators.


View Details & Analytics

Target Metrics:
  • Failure Reduction: 0% transient API failure impact due to exponential backoff and SSL verified sessions.
  • Reliability: Covered with 20+ automated Pytest unit tests mocking network latency, schema mismatches, and file corruptions.
Core Stack: Python, Pandas, REST APIs, Pytest, Power BI, Exponential Backoff.

Traffic Signal Optimizer

Trained a Proximal Policy Optimization (PPO)-based deep reinforcement learning agent in a custom Gymnasium environment to minimize vehicle waiting times dynamically.


View Details & Training

Adaptive Control Flow:
  • Engineered multi-term reward functions balancing waiting times, emergency vehicles, and tail congestion.
  • Implemented learning-rate annealing to stabilize learning convergence across unseen traffic distributions.
Core Stack: Gymnasium, PPO (Stable Baselines3), Custom traffic simulation.

Civic-Spark Platform

Architected a mobile-first citizen advocacy portal for Bengaluru using OpenStreetMap tracking and a decay-weighted priority algorithm to rank civic issues.


View Details & Features

Key Gamification Details:
  • Integrated XP/badges, daily streaks, 5 citizen progression tiers, and a weighted upvote scoring system.
  • Spam Prevention: Trust index balancing upvotes, user reputation levels, and location timestamps.
Core Stack: React 18, TypeScript, Vite, Tailwind CSS, React Leaflet, Radix UI, TanStack Query.

GitHub Statistics

Core Developer Metrics Streaks & Language Breakdown
GitHub Stats GitHub Streak

Top Languages

Research Interests & Focus

  • Explainable AI (XAI) – Restoring interpretability in deep black-box models.
  • Quantitative Machine Learning – Appling statistical modeling and ML to financial markets and telemetry data.
  • Reinforcement Learning – Sequential decision-making, game theory, and adaptive control systems.
  • Intelligent Edge Systems – Deploying low-latency ML and cryptographic verification to edge nodes/IoT devices.

Open to Collaboration

I am keen to collaborate on AI research, open-source ML systems, and quantitative modeling projects. If you are building in the ML/AI, Quant, or Decentralized Systems spaces, let's connect!

Email LinkedIn GitHub

Last updated: July 2026

Pinned Loading

  1. -SmartGridAnomalyDetection -SmartGridAnomalyDetection Public

    Forked from Dhruvjagadeesh/-SmartGridAnomalyDetection

    Jupyter Notebook

  2. civic-spark civic-spark Public

    Forked from soniaa27/civic-spark

    A modern, mobile-first civic engagement platform specifically designed for Bengaluru. Report, vote on, and track civic issues while earning XP, badges, and climbing leaderboards. Make Namma Bengalu…

    TypeScript

  3. Memora-AR-Based-Cognitive-Assistive-Platform Memora-AR-Based-Cognitive-Assistive-Platform Public

    Memora: AR-Based Cognitive Assistive Platform for Early Stage Alzheimer's Patients Integrating Facial Recognition, Age Progression Tolerance, Lifelong Learning, and Voice-Based NLP Prompts.

    Python 1

  4. Reinforcement-Learning-Intelligent-Traffic-Light-Controller Reinforcement-Learning-Intelligent-Traffic-Light-Controller Public

    Reinforcement Learning agent that learns to intelligently control a network of traffic lights in a simulated environment. The agent's goal is to minimize the average waiting time for cars and reduc…

    Jupyter Notebook 1