AI-powered SMS spam detector, by Vikranth Reddy
Type or paste a text message below. A real TF-IDF + Naive Bayes model, trained in Python, exported as weights, running 100% in your browser, judges it SPAM or HAM.
weights.json (vocabulary + idf + priors + log-probabilities) is shipped to the site; JavaScript re-runs the exact same math as sklearn's predict_proba.Python · scikit-learn · NumPy · vanilla JavaScript · static hosting (Vercel)
train.py: trains the model and exports weights.json · index.html: this demo · vercel.json: security headers