"Spam" (Built-in Classifier)
Detect whether an email is spam from its content.
- The current version only works for the English language.
Examplesopen allclose all
Basic Examples (2)
Use the "Spam" built-in classifier to detect if an email is spam from its content:
Obtain the probabilities for the possible classes:
Obtain a ClassifierFunction for this classifier:
Apply the classifier to a an email:
Use a custom ClassPriors to restrict the possible outputs: