ML-powered sentiment analyzer for product reviews, by Vikranth Reddy
Type a product review below. A real TF-IDF + logistic regression model, trained in Python, exported as weights, running 100% in your browser, scores it.
weights.json (vocabulary + idf + coefficients) is shipped to the site; JavaScript re-runs the exact same math: σ(w·x + b).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