AI Γ— Robust APIs for Students

Developing Robust APIs
to Share Your AI Magic

Build a tiny brain (model), teach it well, and wrap it in a strong API so friends and apps can use itβ€”securely, safely, and fast. πŸŽ‰
Bonus: Developing Robust APIs (reference)

Your Model in a 3D Magic Cube ✨

Step-by-Step Journey

🐣
1. Curious Kick-off

What is AI/ML? Where do we see it?


          
Learn Try Share

Graphical Visualisation

Training Curve

See accuracy go up and loss go down as the model learns! πŸ“ˆ

Model Skills Radar

A playful look at strengths after tuning.

Confusion Matrix

Pred: No
Pred: Yes
True: No
42
8
True: Yes
6
44

Total samples: 100

Try a Tiny Prediction

2 h/day
8 h/night
1 (0=none, 1=just right 🍎, 2=hungry πŸ˜…, 3=too many πŸͺ)
Adjust the sliders and tap Predict to see a playful result!

Cute Resources

Friendly API Checklist

  • βœ“ Input validation (Pydantic)
  • βœ“ Versioning (/v1, /v2)
  • βœ“ Auth (API keys / OAuth)
  • βœ“ Rate limits (e.g., slowapi)
  • βœ“ Tests (pytest + httpx)
  • βœ“ Monitoring (Prometheus, logs)
  • βœ“ CORS + timeouts + retries

AI Model Tips

  • Keep it simple first
  • Collect clean, diverse data
  • Measure fairly (precision/recall)
  • Explain decisions (feature importance)
  • Watch data drift; re-train

Safety & Kindness

  • Protect privacy
  • Be bias-aware & inclusive
  • Respect users & rate-limit
  • Document clearly