Mystery ML: Classifying Text w/ Recurrent Neural Networks, Keras, Scoob and the Gang
summary
Builds a simple recurrent neural network using Keras, tokenizes text into a 10,000-word vocabulary, pads to maxlen 150, and uses embeddings to turn words into vectors (tokenization and embeddings). Trains with an 80/20 split, batch size 20 and about 10 epochs; training accuracy looks high but test accuracy collapses—model overfits. Deploys the serialized model to RedisAI and serves a small web client that returns probabilities (e.g. “jinkies” → Velma ~0.67, “rokey raggy” → Scooby ~0.92, “scoob” → Shaggy ~0.99), so the pipeline runs but generalization fails.
AI-written summary · about
