ScamShield NLP

Classifies a text message as SCAM or LEGITIMATE using a calibrated Linear SVM trained on the ScamShield corpus (TF-IDF features, n-grams 1–2). Returns a calibrated scam probability (confidence) and a risk level.

Example messages

Click an example to load it, then press Analyze.

Model

CalibratedClassifierCV(LinearSVC) over TfidfVectorizer (10,000 features, n-gram 1–2)

Held-out test set:

  • Accuracy: 96.91%
  • Precision: 96.64%
  • Recall: 94.99%
  • F1: 95.81%
Examples