WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center
Detect whether an email is spam from its content.

Classes

Details

  • The current version only works for the English language.

Examples

open all close 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:

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

Classify   Import

Classifiers: FacebookTopic   Sentiment   Language   ProgrammingLanguage

Formats: MBOX   EML

History

Introduced in 2018 (11.3)

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /