scikit-learn
Classify text with scikit-learn on Wasmer Edge
A TF-IDF + logistic regression pipeline trained on the SMS Spam Collection predicts whether a message is spam or ham. The same model answers POST /api/predict.
Enter a message and press Classify to see the predicted label, the class probabilities and the words that drove the prediction.
Model: scikit-learn 1.8.0 · Data: SMS Spam Collection, CC BY 4.0