← All work

Research internship · CUSAT

Deep Learning Tutor

A Streamlit workbench for learning deep learning by doing: train small networks, watch live curves, see Grad-CAM, and ask an AI tutor in English or Malayalam.

Teaching tools mislead when their numbers are rosy. It keeps a held-out test set that is evaluated once, after training — and says so when a dataset is too small for that.

  • RoleResearch internship project at CUSAT, under Dr. Sudheep Elayidom
  • Year2026
  • StackPython · TensorFlow / Keras · Streamlit · Gemini · Ollama
Deep Learning Tutor test tab: a handwritten 7, the 28×28 input the model sees, and a Grad-CAM heatmap over the stroke.
Test tab: prediction plus a Grad-CAM heatmap of where the network looked.

Students learning deep learning either copy notebooks they don’t understand or use toy demos that hide the details — and both can show flattering numbers.

  1. Configure a dense network or a small CNN in the sidebar and train it on built-in datasets (Iris, Wine, Breast Cancer, Digits, MNIST, Fashion-MNIST) or your own CSV / ZIP of images, with upload safety checks.
  2. Three splits with one job each: train, validate (live curves, early stopping), and a test set evaluated exactly once, after training.
  3. Understand the run: confusion matrix, per-class precision / recall / F1, and Grad-CAM heatmaps for image predictions.
  4. An AI tutor (Google Gemini online or Ollama offline) in English or Malayalam, an agent mode with five validated tools, and a knowledge base over your own PDFs.
  5. Export the trained model and a standalone Python script that reproduces the same split.
Streamlit UI4 tabs · English + MalayalamDatasplit · fit on train onlyModelsdense NN · small CNNTraininglive curves · early stopEvaluationtest set once · per classGrad-CAMwhere the model lookedExport.keras + scriptKnowledge basecosine + BM25AI tutorGemini · OllamaAgent mode5 validated tools
The Streamlit UI drives a UI-independent core: data splitting and preprocessing, model builders, training and evaluation, Grad-CAM and export. Results feed an AI tutor backed by Gemini or Ollama, which can retrieve from a knowledge base and call validated tools in agent mode.
  • Python
  • TensorFlow / Keras
  • Streamlit
  • Gemini
  • Ollama
  • Built during my research internship at CUSAT (29 Apr – 12 Jun 2026) under Dr. Sudheep Elayidom.
  • Reworked after I completed the NPTEL Deep Learning course: honest evaluation, the test-once split, measured results.

What these numbers don’t show

  • An educational tool that runs on a laptop CPU — deliberately small models, not a production service.
  • Small test sets are noisy: Iris has 22 test rows, so one flower is 4.5 points.