Back to all work
— Project 08
ML and forecasting

Rug Pull Detector

Crypto time-series ML

A machine-learning system for flagging meme-coin rug pulls from raw chart data. The important choice was a fair tournament: every model trains on the same feature window, so deep-learning and boosted baselines can be compared honestly.

Role
ML Engineer
Period
2025 to 2026
Status
Production
TSMixerLSTMTransformerXGBoostLightGBMPyWaveletsOptuna
— Chapter 01
System shape

How the system fits together.

Click any block to read about it
Fig. 01 — Rug Pull Detector architecture
— Chapter 02
Decisions and outcomes

The calls that shaped it.

  1. 01

    A fair model tournament

    TSMixer (the winner), LSTM, Transformer, XGBoost, and LightGBM all train on the same prepared windows, so each is judged on an identical benchmark — stratified 5-fold CV with class weighting handles the heavy imbalance.

  2. 02

    50+ features from raw ticks

    Downsamples raw 1-second ticks to 5-second buckets, then layers price velocity, RSI, ROC, buy/sell pressure, three-level wavelet decomposition, rolling-window stats, and on-chain holder-concentration metrics.

  3. 03

    A real training loop

    GPU mixed precision, early stopping with patience, LR scheduling, checkpointing, and per-fold artefacts so any fold can be inspected after the run — with a full classification report, PR curve, and confusion matrix.

— Aside
The interesting work isn't the stack. It's the boundaries.
— Chapter 03
How it runs

What it runs on.

ML
PyTorchTSMixerLSTM · TransformerXGBoost · LightGBMscikit-learnOptuna
Features
PyWaveletspandas