Amazon review polarity classifiers
Two classifiers trained on the Amazon Review Polarity dataset (Zhang et al., 2015), labels 0 = negative, 1 = positive. Input: cleaned "title. text" (lowercase, HTML and URLs removed).
tfidf_portable/: TF-IDF (word 1-2-grams, sublinear TF) + logistic regression as plain files (term list JSON, NumPy weights). Test accuracy 0.9380 on the 400,000-review test split.review_dnn/: Keras CNN (embedding + Conv1D kernels 3 and 5) weights, vocabulary and config. Test accuracy 0.9342.
Metrics, 5-fold cross-validation and timings: classifiers.json.