Skip to Main Content
Modern Scala Projects
book

Modern Scala Projects

by Ilango gurusamy
July 2018
Intermediate to advanced content levelIntermediate to advanced
334 pages
8h 20m
English
Packt Publishing
Content preview from Modern Scala Projects

Description of the SpamHam dataset

Before we present the actual dataset, here are a few real-world spam samples: 

Spam email with phishing example

Here is an example of regular or wanted mail, also known as ham:

A perfectly normal email from Lightbend

The following is a glimpse into the actual dataset used in our spam-ham classification task. There are two datasets:

  • inbox.txt: A ham dataset compiled from a small collection of regular emails from my Inbox folder
  • junk.txt: A spam dataset compiled from a small collection of junk email from my ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scala Programming Projects

Scala Programming Projects

Mikael Valot, Nicolas Jorand

Publisher Resources

ISBN: 9781788624114Supplemental Content