"Spam" (Built-in Classifier)

Detect whether an email is spam from its content.

Classes

    Out[1]//Short=

Details

  • The current version only works for the English language.

Examples

open allclose all

Basic Examples  (2)

Use the "Spam" built-in classifier to detect if an email is spam from its content:

In[1]:=
Click for copyable input
Out[1]=

Obtain the probabilities for the possible classes:

In[2]:=
Click for copyable input
Out[2]=

Obtain a ClassifierFunction for this classifier:

In[1]:=
Click for copyable input
Out[1]=

Apply the classifier to a an email:

In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Options  (2)

See Also

Classify  MBOX  EML  Import

Related Models