"Spam" (Built-in Classifier)
-
See Also
- Classify
- Import
-
- Classifiers
- FacebookTopic
- Sentiment
- Language
- ProgrammingLanguage
-
- Formats
- MBOX
- EML
- Related Guides
-
-
See Also
- Classify
- Import
-
- Classifiers
- FacebookTopic
- Sentiment
- Language
- ProgrammingLanguage
-
- Formats
- MBOX
- EML
- Related Guides
-
See Also
"Spam" (Built-in Classifier)
Detect whether an email is spam from its content.
Classes

Examples
open all close allBasic 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:
Scope (1)
Load the ClassifierFunction corresponding to the built-in classifier:
Obtain the possible classes using Information:
Options (2)
ClassPriors (1)
Use a custom ClassPriors to restrict the possible outputs:
IndeterminateThreshold (1)
Use a custom IndeterminateThreshold:
See Also
Classifiers: FacebookTopic Sentiment Language ProgrammingLanguage
Related Guides
History
Introduced in 2018 (11.3)