Emails_train {mdsr} | R Documentation |
Email Train
Description
The training dataset includes a set of email subject lines used for classification
of whether the message is spam (unsolicited commercial content) or not.
Many subject lines include subject matter inappropriate for classroom use.
Given the volume of headlines containing such language
(especially for spam == TRUE
), user discretion is advised.
This dataset is a random sample of 80% of the emails data.
The testing dataset is a random sample of 20% of the emails data.
Usage
Emails_train
Emails_test
Format
A data frame with 5,526 rows and 3 variables:
- ids
an integer vector
- subjectline
a character vector
- type
a character vector
A data frame with 1,382 rows and 3 variables:
Source
Originally retrieved from http://www.rdatasciencecases.org/Data.html
Examples
nrow(Emails_train)
nrow(Emails_test)
[Package mdsr version 0.2.7 Index]