IBM and Red Hat — the next chapter of open innovation. Learn more ›
Get the code
View the demo
by Zia Mohammad | Published September 19, 2018
Artificial intelligenceData scienceNatural language processingNode.js
In today’s world, email is the primary way that people and businesses communicate. However, that creates a huge opportunity for individuals to try and scam or “phish” others. Because the detection of fraudulent emails is considered to be a classification issue, this code pattern explains how to build an app that classifies email, either labeling it as “Phishing,” “Spam,” or “Ham” if it does not appear suspicious.
Email is considered to be the main form of communication in today’s world. But, with that form of communication comes the problem of phishing. Preying on individuals and businesses, phishing scams contribute to the loss of billions of dollars worldwide. Phishing detection techniques must be created and used to help stop the problem.
In this code pattern, we build an app that classifies email, either labeling it as “Phishing,” “Spam,” or “Ham” if it does not appear suspicious. The code pattern uses IBM Watson Natural Language Classifier to train a model using email examples from an EDRM Enron email data set. The custom NLC model can be quickly and easily built in the web UI, deployed into a Node.js app using the Watson Developer Cloud Node.js SDK, and then run from a browser.
When you have completed this code pattern, you should understand how to:
Find the detailed instructions in the README. These steps explain how to:
April 23, 2019
Artificial intelligenceData science+
Build an app that classifies email, either labeling it as 'Phishing,' 'Spam,' or 'Ham' if it does not appear suspicious.
Back to top