GithubHelp home page GithubHelp logo

scam_mail_clustering's Introduction

Scam Mail Clustering

Data (English / with punctuations)

Attributes

  1. dt: date (Reported date?)
  2. subject
  3. url: html file name
  4. comments: comments of this email (with html tags)
  5. content: (~ email_body, email_from, email_replyto, email_timestamp)
  6. scam_type: types (ex. next-to-kin, 419)
  7. email_body: email content (text)
  8. email_from: Name
  9. email_replyto:
  10. email_timestamp: email date (ex. Fri, 31 Jan 2014 22:10:10 +0700)
  11. email_subject: subject (dup with 2)

Split

  1. Train / Val (2014-2018, 60)
  2. Test (2019, 4)

Target

Flow

Data cleaning: parse raw data to json (drop 4, 5 & 11)

	{
		"url": "00810674.1.htm",
		"email_body": "FBI Headquarters ...",
		"scam_type": "419", 
		"email_from": { 
			"name": "fbi ag***t",
			"email": ""
		},
		"email_timestamp": "31 Dec 2017 17:48:34 +0200",
		"date": "20180101",
		"email_replyto": {
			"name": "",
			"email": "atm****@rep***tative.com"
		},
		"id": "20180101_1",
		"subject": "Re: ..."
	}

Train Doc2Vec

python main.py --mode train > train_doc2vec.log &

Test

python main.py --mode test > test_clustering.log &

Ref. [1] 419scam.org

scam_mail_clustering's People

Contributors

jiejyun-liu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.