Skip to main content

Spam or Ham?

Automatically Detect spam in Text Using Bayes’ Theorem

  • Chapter
Machine Learning Projects for .NET Developers
  • 2326 Accesses

Abstract

If you use email (I suspect you do!), chances are that you see machine learning at work on a daily basis. Your email client probably includes some spam filter mechanism, which automatically identifies blatantly unwanted promotional materials in your incoming messages and discreetly sends them into oblivion in a "spam folder." It spares you the annoyance of having to delete these messages manually one by one; it will also save you from inadvertently clicking potentially harmful links. This is typical of how machine learning, when well done, can make human life better. Computers are great at performing repetitive tasks and being thorough about it; by automatically taking care of tedious activities and saving us from mistakes, they enable us humans to focus on more interesting, thought-engaging activities.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Mathias Brandewinder

About this chapter

Cite this chapter

Brandewinder, M. (2015). Spam or Ham?. In: Machine Learning Projects for .NET Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6766-9_2

Download citation

Publish with us

Policies and ethics