ANAYA

Data Scientist

Anaya
Gandhi

Mechatronics → Data Science.
I study how systems move, adapt, and respond under constraint, from protein conformational paths to Olympic biomechanics to ALS detection from speech.

Anaya Gandhi
Edinburgh · Mumbai
MSc Data Science, University of Edinburgh
About

Curious about
how things work.
Obsessed with why.

My career has been a series of increasingly strange ways to answer the same question: how do systems behave when they're pushed? I started in mechatronics, building things that moved, failed, overheated, crashed, and occasionally taught me humility. When something broke, there was nowhere to hide, the system was either doing what it was supposed to do or it wasn't. That engineering mindset followed me into data science, where I'm less interested in chasing the latest model and more interested in understanding the system underneath. To me, data is rarely the destination. It's the clue.

Over the last few years, I've used machine learning and analytics to study protein dynamics, detect neurological disorders from speech, analyze elite athlete biomechanics, optimize business decisions, and generally ask far too many questions about why things behave the way they do. On paper, those projects look completely unrelated. To me, they're all variations of the same problem. Proteins fold. Athletes move. Patients speak. Markets shift. Complex systems adapt under constraint, and I'm fascinated by understanding the mechanisms behind that adaptation.

My MSc in Data Science at the University of Edinburgh gave me the tools to explore those questions through machine learning, statistics, and computational modelling. More importantly, it taught me that a good model isn't just accurate—it helps you understand something you couldn't see before. Today, I'm looking for opportunities across data science, AI, health technology, computational biology, and human performance, especially where data can drive decisions that matter in the real world. If there's a system worth understanding, I'm probably interested.

What I'm Looking For

I'm actively seeking roles in health AI, computational biology, and applied ML research, especially teams where outputs have real biological or physiological consequence. I'm open to industry and research positions, and don't require a PhD-level role to do PhD-level thinking. Mumbai-based, open to remote and relocation.

RESEARCH
Research & Projects

The
work.

Each project has a live interactive demo — not just a description, something you can actually play with.

01
MSc DissertationComputational BiologyGenerative AI
Physics-Informed VAEs for Protein Conformational Modeling
University of Edinburgh · 2025 — Teaching a neural network to understand how proteins flex, constrained by physics.
Explore

The Problem

MurD ligase cycles between open and closed conformations to catalyze cell-wall synthesis. Traditional MD captures this, but takes weeks. Can a physics-informed generative model learn that conformational landscape directly from existing trajectory data?

The Approach

Physics-informed VAE on 2,700 MurD MD frames (open/closed/apo). Loss = MSE + β·KL + bond/angle penalties + Ramachandran torsion term. Three-stage search over 192 configs → balanced VAE (dz=64) resolving mode collapse.

Results

Reconstruction 1.25 Å RMSD; interpolation 0.87–1.31 Å; smoothness 0.048 ± 0.016 Å
Apo validation RMSD 1.758 ± 0.017 Å; biological score 0.767
CNN baseline: DOPE dropped 4,526.5 pts on test set, cannot interpolate
Latent Space Explorer
0.00
0.00
0.05
Drag the sliders to explore different regions of the learned conformational landscape. The dots show interpolated protein structures; RMSD updates live.
02
Clinical AISpeech ProcessingDeep Learning
Automatic Speech Analysis for Dysarthria Recognition & ALS Diagnosis
Group Research · 2025 — 97% F1-score detecting ALS from voice alone using Wav2Vec 2.0.
Explore

The Problem

ALS affects up to 80% of patients through dysarthria — impaired speech from motor neuron degeneration — and it often appears early. Could automated speech analysis catch it before other symptoms?

The Approach

Two parallel pipelines: Wav2Vec 2.0 fine-tuned on TORGO for dysarthria detection, and classical ML regression on VOC-ALS acoustic biomarkers (F₀, HNR, jitter, shimmer) for ALS severity grading.

Results

Fine-tuned Wav2Vec: F1 = 0.97, recall 0.99
Random Forest best for severity: MAE ~6.8, R² = 0.125
Datasets: TORGO (2,000 samples) + VOC-ALS (153 patients)
Non-invasive — potential for remote monitoring
Acoustic Feature Visualizer
0.4%
Jitter
2.1%
Shimmer
22dB
HNR
03
Clustering Predictive Modeling Music Analytics
Seasonal & Life Cycle Patterns in Music Popularity
Applied ML · 2024 — KMeans on Spotify Top 200 (2017–2023). Three song trajectory archetypes discovered.
Explore
04
Network AnalysisGraph TheoryFinance
Shared Investor Networks: Linking Microsoft to the Market
Network Science · 2024 — 77 investors, 1,529 stocks, one bipartite graph. How shared ownership connects MSFT to everything.
Explore

The Problem

Stock correlations are often driven by shared investor behaviour. If the same institutional investors hold both MSFT and another stock, market movements propagate through those ownership networks — invisible in price data alone.

The Approach

Bipartite graph (1,606 nodes: 77 investors + 1,529 stocks) from 2016–2023 quarterly 13F filings. Co-investment projection, betweenness centrality, Louvain community detection, and minimum spanning tree on return correlations.

Results

MSFT betweenness: 0.159 → 0 (pandemic) → 0.577 (recovery)
Community expanded to 168 stocks at peak crisis — "safe harbour" effect
Tightest co-investments: AMZ (158), GOOG (142), META (135)
Top investors by degree: David Katz / Dodge & Cox (30 investments each)
Investor Network Explorer
Hover a node to see investor details
05
Agent-Based ModelingFinancial MarketsSimulation
Trading Strategy Interactions: An Agent-Based Model of Market Dynamics
Probabilistic Programming · 2024 — Bitcoin market simulation with 5 trader types. Emergent market behaviour from agent interactions.
Explore

The Problem

Market dynamics emerge from agent interactions. Rather than modelling markets top-down, ABM lets complexity arise from the bottom up — making emergent phenomena like volatility cascades visible.

The Approach

Bitcoin/GBP, 1,750-day simulation. 100 agents (5,000 GBP + 0.5 BTC each): 70% Chartists (Momentum, RSI, Balanced, Alternating) + 30% Random. Petrov's Price Response Function + Gibrat's Law. Novel Contrarian Trader introduced in Task 4.

Results

Random Traders: highest wealth (£231,016) — counterintuitive Bitcoin-heavy windfall
Balanced chartists: best win rate (52.47%), lowest drawdown (£23,949)
Contrarians stabilised market: price capped ~7k vs ~11k GBP without them
Alternating agents worst: lowest wealth (£113,277), only 37% exposure time
Live Market Simulation
Back to Research
MSc Dissertation Computational Biology Generative AI
University of Edinburgh · MSc Data Science · 2025

Physics-Informed VAEs for
Protein Conformational Modeling

View on GitHub

The Problem

Because proteins are inherently dynamic, mapping their conformational transitions is essential for modern drug discovery. However, traditional molecular dynamics simulations are computationally exhaustive, often requiring weeks to generate a single trajectory. This opens a critical question: can generative models bypass these physical simulation bottlenecks by learning the conformational landscape directly from historical trajectory data?

The Approach

This project implements a physics-informed VAE trained on MurD ligase molecular dynamics trajectories, consisting of 2,700 total frames evenly distributed at 900 frames per functional state (open, closed, and apo). The network utilizes an MLP encoder paired with a FoldingNet-style decoder, optimized via a total loss function defined as Ltotal = LMSE + βLKL + wgeoLgeo + wramaLrama. This formulation directly accounts for reconstruction error, KL regularization, AMBER-style bond/angle penalties, and Ramachandran torsion constraints to preserve the physical realism of backbone dihedrals.

The optimal architecture was determined through a three-stage search evaluating 192 hyperparameter configurations. Test 15 established the baseline structural parameters (dz=8, β=0.05, wgeo=5×10−5), while Config 82 identified the superior physics constraint set (bond+smoothness) with a realism score of 0.4965. Because this initial configuration exhibited mode collapse during structural interpolation, a final balanced VAE (dz=64) was

Results

Reconstruction RMSD: 1.25 Å — structures faithfully recover input conformations
Interpolation RMSD: 0.87–1.31 Å to endpoints; consecutive-step smoothness 0.048 ± 0.016 Å
Apo-state validation RMSD: 1.758 ± 0.017 Å — close alignment with experimentally confirmed reference structure
Secondary structure: 22.1% helix, 29.0% β-sheet, 49.0% coil — biologically plausible throughout the pathway
Biological evaluation score: 0.767 overall; CNN baseline dropped 4,526.5 DOPE score points on test set and could not interpolate at all
Latent Space Explorer

Drag the sliders to explore different regions of the learned conformational landscape. The dots show interpolated protein structures; RMSD updates live.

0.00
0.00
0.05
z₁/z₂ navigate the 2D latent space — dots are interpolated conformations between open and closed states. Higher β increases physics penalty, pulling structures toward realistic geometries.
The Three-Model Journey

Three VAE iterations to solve mode collapse and over-diversity. Click to see what broke — and what fixed it.

0.0001 Å
Recon RMSD
~0.0001 Å
Interp RMSD
0.013
Latent dist.
Mode collapse. All interpolated frames nearly identical. Latent distance only 0.013.
Read the Dissertation
MSc Dissertation · University of Edinburgh · 2025
Back to Research
Clinical AI Speech Processing Deep Learning
Group Research · University of Edinburgh · 2025

Automatic Speech Analysis for
Dysarthria Recognition & ALS Diagnosis

View on GitHub

The Problem

For up to 80% of ALS patients, one of the earliest and most challenging symptoms to emerge is dysarthria the impairment of speech caused by the degeneration of motor neurons. Because this speech decline often appears long before other major physical symptoms, it presents a unique opportunity for early detection. Could automated speech analysis step in to catch these subtle vocal shifts before noticeable symptoms take hold? Transitioning from manual clinical evaluations to automated, data-driven speech tracking could completely change how early we catch the disease.

The Approach

Two parallel pipelines: Wav2Vec 2.0 fine-tuned on TORGO — a 2,000-sample database of dysarthric and healthy speech, evenly split by gender — for deep feature extraction and binary dysarthria classification. In parallel, a shallow neural net trained on 13 MFCCs served as a comparator classifier on the same dataset.

The second pipeline targets ALS severity prediction using the VOC-ALS dataset (153 Italian-speaking individuals: 102 ALS patients, 51 healthy controls). Five acoustic biomarkers — mean F₀, F₀ standard deviation, HNR, jitter, and shimmer — were extracted across 8 prescribed vocal tasks (40 features total) and fed into regression models: Linear, Ridge, Lasso, XGBoost, and Random Forest. Severity was quantified via an inverted ALSFRS-R clinical scale, enabling disease progression tracking.

Results

Fine-tuned Wav2Vec: F1 = 0.97, precision 0.94, recall 0.99 — only 7 misclassifications in 200 test samples
Outperformed frozen Wav2Vec (F1 = 0.81) and MFCCs-based NN (F1 = 0.95) — fine-tuning is essential for clinical audio
Random Forest best for severity regression: test MAE ~6.8, R² = 0.125 via cross-validation
Feature importance: F₀ std dev and HNR on /i/ phonation were top predictors of ALS progression
Non-invasive pipeline — works on short, unstructured recordings; potential for remote and home-based monitoring
Acoustic Biomarker Simulator

Toggle between healthy and dysarthric speech profiles to visualize changes in key acoustic biomarkers associated with ALS progression.

Synthesised vocal signal — healthy speech is periodic and stable; dysarthric speech shows pitch breaks, amplitude fluctuation, and noise.
0.4%
Jitter
2.1%
Shimmer
22dB
HNR
Model Comparison: Test Set

Confusion matrices for all three detectors on 200 test samples (Table 4). Click a model to inspect it.

0.97
F1-score
0.94
Precision
0.99
Recall
Read the Paper
Healthcare AI · University of Edinburgh · 2025
Back to Research
ClusteringPredictive ModelingMusic Analytics
Applied Machine Learning · University of Edinburgh · 2024

Seasonal & Life Cycle Patterns
in Music Popularity

View on GitHub

The Problem

Why do certain tracks peak immediately and fade into obscurity, while others build a slow, sustainable burn? This project investigates whether a song's full popularity trajectory. From its initial release to its peak and eventual decline, can be predicted using a combination of intrinsic audio features and strategic release timing.

The Approach

Using the Spotify Top 200 dataset (2017–2023) supplemented with Spotify Developer API metadata, I engineered three core lifecycle features: time to peak, duration at peak, and rate of decline. The feature set integrated temporal markers (release month and day of week) with core audio dimensions, including energy, danceability, valence, speechiness, acousticness, and loudness.

Unsupervised benchmarking across four clustering algorithms (KMeans, DBSCAN, Agglomerative, and Gaussian Mixture) evaluated via Silhouette, Davies-Bouldin, and Calinski-Harabasz metrics identified KMeans as the optimal model (Silhouette score of 0.214 vs. DBSCAN's −0.283). The elbow method established 3 distinct clusters as the ideal structural fit. Predictive modeling using Random Forest, XGBoost, and SVR demonstrated that incorporating release-month temporal features drastically outperformed models utilizing audio features alone when forecasting a track's time-to-peak.

Results

Cluster 0 — Mainstream: energy 0.70, danceability 0.70, acousticness 0.15. Fast peaks, 14% reach Top 20
Cluster 1 — Acoustic: energy 0.45, acousticness 0.53. Gradual rise, longer peak durations. Winter- and fall-favouring
Cluster 2 — High-Impact: energy 0.65, loudness 0.90. 69% reach Top 20 which was the standout chart predictor
Summer releases peak fastest (mean 30.9 days); winter releases slowest (54.2 days) but sustain longer
SVR achieved lowest MAE (49.98) vs baseline 72.31; negative R² across models reflects chart timing's inherent unpredictability beyond audio features alone
Song Cluster Predictor

Drag the sliders to set a song's audio profile. Watch the radar chart update and see which of the three discovered archetypes it most resembles.

Cluster 0 — Mainstream
14% reach Top 20
The coloured shape is your song's audio profile. Ghost outlines show the three cluster centroids — whichever your shape overlaps most determines the predicted archetype.
0.70
0.70
0.15
0.82
Loudness normalised 0–1 for display (paper reports 0.82 / — / 0.90)
Song Lifecycle Trajectories

The three discovered archetypes — how each cluster's popularity actually moves over a song's chart life. Click a cluster to highlight it.

All three clusters — Mainstream spikes fast and fades. Acoustic builds slowly and sustains. High-Impact peaks hard and holds the top longer.
Read the Paper
Submitted · University of Edinburgh · Applied Machine Learning · 2024
Back to Research
Network Analysis Graph Theory Finance
Network Science · University of Edinburgh · 2024

Shared Investor Networks:
Linking Microsoft to the Market

The Problem

Traditional financial analysis often overlooks the fact that stock correlations are heavily driven by shared investor behavior rather than fundamental market indicators alone. When the same institutional investors simultaneously hold large positions in Microsoft (MSFT) and another equity, broader market movements inevitably propagate through these underlying ownership networks. This structural interconnectedness remains completely invisible when examining price data in isolation, creating a critical blind spot for risk assessment.

The Approach

To uncover these hidden dynamics, this project constructed a bipartite graph utilizing quarterly 13F holdings filings spanning from 2016 to 2023. The resulting network comprised 1,606 total nodes—consisting of 77 distinct institutional investors and 1,529 individual stocks—with edge weights mathematically encoding the exact number of quarters a given investor maintained a position in a stock. To isolate the relationships between assets, this bipartite network was then projected onto the stock side, creating a unipartite co-investment network where an explicit link is established between two stocks if they share at least one mutual institutional investor

Three analytical threads were executed in parallel to evaluate this network structure. First, betweenness centrality was calculated to track which specific stocks acted as critical systemic bridges across the market. Second, Louvain community detection was applied across 29 unique quarterly snapshots to monitor how clusters of co-invested stocks evolved over time. Finally, a minimum spanning tree was constructed based on historical return correlations, using the distance formula d = 1 − |correlation|, to reveal the market's true structural backbone before, during, and immediately following the COVID-19 pandemic.

Results

MSFT's betweenness centrality collapsed to 0 during the pandemic — investors fled to diversification, severing its bridging role
Post-pandemic rebound: betweenness jumped to 0.577, making MSFT the market's dominant connector again
MSFT's community expanded from ~102 stocks pre-pandemic to 168 at peak crisis — a "safe harbour" effect
Highest-degree investors: David Katz / Matrix Asset Advisors and Dodge & Cox (30 investments each); value investing dominates MSFT's base
MSFT most co-invested with AMZ (158 shared investors), GOOG (142), META (135) — tightly bound to tech sector
MSFT's Pandemic Centrality Journey

Betweenness centrality measures how often MSFT acts as a bridge between stocks. Watch it collapse during COVID — then come back stronger than ever.

Network graph showing MSFT (centre) and its co-invested stocks. Node size reflects investor degree; edges show shared ownership links in each era.
0.063
Degree Centrality
0.159
Betweenness
~102
Community Size
Reliable bridge stock. MSFT connected Amazon, Adobe, and CNI — trusted by a focused group of long-term value investors.
Co-Investment Ranking
How many of MSFT's 77 institutional investors also hold each stock. Bar thickness scales with count — hover any row for details.
Tech
Finance
Other
Read the Paper
Network Science · University of Edinburgh · 2024
Back to Research
Agent-Based Modeling Financial Markets Simulation
Probabilistic Programming · University of Edinburgh · 2024

Trading Strategy Interactions:
An Agent-Based Model of Market Dynamics

The Problem

Market dynamics really come down to what happens when different trading strategies collide. When you have trend-followers, mean-reversion traders, and noise traders all competing in the exact same space, it begs the question: who actually comes out on top, and what does that competition do to the market itself? Instead of using rigid, top-down economic equations, agent-based modeling lets these complex behaviors emerge naturally from the bottom up. This makes it much easier to actually see and map out exactly how things like sudden volatility cascades and wealth concentration happen.

The Approach

To test this out, I set up a simulation of a Bitcoin/GBP market running over 1,750 days. I started with a baseline population of 100 agents, giving every single one of them a starting balance of 5,000 GBP and 0.5 BTC to keep the playing field level. For the initial population mix, I went with 70% Chartists—which included a mix of Momentum-Dominant, RSI-Dominant, Balanced, and Alternating subtypes—and 30% Random Traders. After establishing that baseline, I threw a brand-new Contrarian Trader class into the mix, replacing 10% of those Random Traders to see if a mean-reversion strategy could actually step in and stabilize the market.

As for how the market handles the math, pricing is driven by Petrov's Price Response Function, meaning net demand is what directly forces price changes. On the supply side, Gibrat's Law dictates Bitcoin's growth, kicking out a +10% supply increase every 90 days that gets distributed to agents based on how much crypto they already hold. To keep things realistic and mimic real-world portfolio rebalancing, I built in a market correction mechanism that triggers every 200 days. Finally, after tuning the parameters, I found that an optimal trend-length of n = 10 worked best across all the different chartist subtypes.

Results

Random Traders accumulated the most wealth (mean £231,016) — a counterintuitive finding driven by their heavy Bitcoin exposure during price surges
Momentum-Dominant chartists led among structured strategies (£159,935), with highest exposure time (~52%) capitalising on trends
Balanced chartists had the highest win rate (52.47%) and lowest drawdown among chartists (£23,949) — most consistent overall
Contrarian Traders stabilised the market: Bitcoin price capped at ~7,000 GBP vs ~11,000 GBP without them, with lower volatility spikes
Alternating chartists performed worst: lowest wealth (£113,277), lowest win rate (47.33%), only 37% exposure time
Live Market Simulation

Adjust trader proportions and run the simulation to see how agent composition affects market dynamics and relative wealth outcomes.

Simulated BTC/GBP price over 1,750 days. More momentum traders → larger swings. More contrarians → price stabilisation near ~7k GBP.
Agent Performance Scorecard

Real numbers from Table 4. Click a metric to re-rank — the surprising winner isn't who you'd expect.

Read the Paper
Agent-Based Modelling · University of Edinburgh · 2024
PATH

Where I've
been.

EDUCATION
Sep 2024 — Nov 2025
MSc Data Science
University of Edinburgh · School of Informatics
  • Dissertation focused on learning how proteins move, using physics-informed machine learning to model conformational changes in biological systems
  • Built a foundation across machine learning, AI ethics, behavioural analytics, and data management while working on applied, project-based coursework
  • Applied those skills across projects in healthcare AI, computational biology, sports performance, financial networks, and predictive analytics
Variational Autoencoders Representation Learning Computational Biology PyTorch Protein Dynamics
EDUCATION
Jul 2019 — Apr 2023
B.Tech Mechatronics
NMIMS Mumbai · Mukesh Patel School
  • Designed and built a search-and-rescue drone for my final-year project, applying robotics and control systems to a real-world problem
  • Developed a foundation in robotics, embedded systems, and automation, along with the engineering mindset that still shapes how I approach machine learning today
  • Interned at ComXR, contributing to immersive technology projects and gaining hands-on experience working in multidisciplinary teams
Robotics Autonomous Systems Control Systems Embedded Systems Sensor Integration
WORK
Dec 2023 — Jun 2024
Data Analyst
Reliance Foundation Youth Sport · Navi Mumbai
  • Collaborated with Indian Olympic track athletes to analyze biomechanics, pre-competition and in-competition stats to identify performance improvement opportunities
  • Developed comprehensive, data-driven training plans tailored to each athlete's individual needs
  • Applied ML algorithms to identify meaningful patterns in athlete data — enabling data-driven coaching strategies
Sport Biomechanics Motion Analysis Python Machine Learning Performance Dashboards
WORK
May 2023 — Nov 2023
Data Analyst
Pratech Brands / HyugaLife · Mumbai
  • Led a price elasticity project — in-depth analysis of price-demand relationships across a portfolio of 500+ products
  • Built a predictive pricing model using advanced ML, enabling optimized pricing strategies and maximized sales
  • Presented to senior management; model drove an 80% increase in sales for the top 500 products
Price Elasticity Demand Forecasting Feature Engineering Regression Modelling Python
HELLO

Get In Touch

Let's build
something
real.

I'm fascinated by how data can help us better understand people, from proteins and disease to movement, performance, and health. If you're working on something meaningful, I'd love to hear about it.

Available for new opportunities · Actively interviewing