-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c87837
commit 90cc672
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# Spam Email Detection | ||
_Create models to predict if an email message is spam or not_ | ||
|
||
## Data Exploration | ||
- Percentage of spam in the data is 13.41% | ||
- Finding 1: Spam message tends to be longer | ||
- Finding 2: Spam message tends to have more digits | ||
- Finding 3: Spam message tends to have more non-word characters | ||
|
||
## Modeling | ||
1. CountVectorizer & Multinomial Naive Bayes Classifier | ||
2. TfidfVectorizer & Multinomial Naive Bayes Classifier | ||
3. TfidfVectorizer & Support Vector Classification + Length of Document | ||
4. TfidfVectorizer & Logistic Regression + Length of Document + # of digits per Document | ||
5. CountVectorizer & Logistic Regression + + Length of Document + # of digits per Document + # of Non-word Characters |