Mia Eden
October 2026
Intelligent, Sub-Millisecond Text Prediction for Modern Applications Coursera Data Science Capstone | Final Product Pitch
Mobile and digital users type billions of messages every day on cramped virtual keyboards. Keystroke fatigue, input latency, and autocorrect frustration drain productivity and degrade user satisfaction.
We built an ultra-lightweight, high-accuracy Next-Word Predictive Engine that anticipates what users intend to type next in real-time.
Our engine leverages an advanced Continuation-Weighted Hashed Backoff Architecture trained on over 100 million words of US English text:
<EOS>), eliminating noisy, artificial transitions that span unrelated thoughts.Evaluated against 2,000 completely unseen test sentences drawn from an independent held-out validation set:
| Benchmark Metric | Measured Performance | Industry Benchmark | Status |
|---|---|---|---|
| Accuracy @ 3 (Top-3 Match) | 22.15% | \( 15\% - 20\% \) | Exceeds Benchmark |
| Accuracy @ 1 (Exact First Word) | 11.60% | \( 8\% - 10\% \) | Exceeds Benchmark |
| Average Query Latency | 0.57 ms | \( < 30\text{ ms} \) | 13.4x Speedup |
| Query Throughput | 1,739 queries/sec | \( > 100\text{ qps} \) | Production Ready |
| Model Size on Disk | 1.79 MB | \( < 50\text{ MB} \) | Ultra-Compact |
Key Takeaway: Over 1 out of every 4.5 words is anticipated accurately within 3 suggestion slots—reducing typing effort by over 20% while executing in under a single millisecond.
We built a consumer-ready, responsive Shiny Web Application showcasing the algorithm in action:
0.5 ms) on every keystroke.Explore the live application and test the engine today!