Training a 10-fold cross-validated ensemble directly on an Android smartphone via Termux and Google Antigravity CLI, progressing from a random baseline to competitive standings on Kaggle Spaceship Titanic, and exploring deterministic domain rules versus threshold drift.
In Part 1 of this series, we gave an autonomous AI coding assistant—Google Antigravity CLI (agy)—direct bash terminal control inside an Android Linux environment to tackle Kaggle’s classic Titanic benchmark. That experiment carried us to Rank #291 (Top 2.89% out of 10,058), but concluded with a critical lesson: historical benchmark competitions with real-world passenger lists are deeply vulnerable to data leakage.
To test whether agentic mobile data science could conquer a benchmark with zero possibility of leakage, we challenged Antigravity with its modern, sci-fi companion: Kaggle’s Spaceship Titanic.
- Deterministic Deduction Beats Blind Tuning: Imputing 271 planetary origins through surname purity yielded more performance than days of brute-force grid search.
- Anchor Thresholds to Empirical Priors: In symmetrical classification tasks, sweeping decision thresholds on validation sets often produces test-distribution drift.
- Mobile Autonomous AI is Ready for Real Work: Running Google Antigravity inside Termux PRoot proved capable of end-to-end competitive data science—from raw data ingest and feature engineering to 10-fold cross-validation and Kaggle submissions—directly on consumer phone hardware.
Pocket Data Science Series · Tested on Android 14 / Termux · Debian ARM64 PRoot · Google Antigravity CLI
✦ All scripts (exp01_random_baseline.py through exp05_10fold_tuned_catboost.py) and submissions are archived locally in /root/spaceship-titanic/. ✦
Leave a comment