What does this AWS Solution Implementation do?
Fraud Detection Using Machine Learning deploys a machine learning (ML) model and an example dataset of credit card transactions to train the model to recognize fraud patterns. The model is self-learning which enables it to adapt to new, unknown fraud patterns.
You can use this solution implementation to automate the detection of potentially fraudulent activity, and the flagging of that activity for review. The solution implementation is easy to deploy and includes an example dataset but you can modify the solution implementation to work with any dataset.
AWS Solution Implementation overview
Fraud Detection Using Machine Learning enables you to run automated transaction processing on an example dataset or your own dataset. The included ML model detects potentially fraudulent activity and flags that activity for review. The diagram below presents the architecture you can automatically deploy using the solution’s implementation guide and accompanying AWS CloudFormation template.

Fraud Detection Using Machine Learning architecture
This solution includes an AWS CloudFormation template that deploys an example dataset of credit card transactions contained in an Amazon Simple Storage Service (Amazon S3) bucket and an Amazon SageMaker notebook instance, which trains a supervised and an unsupervised learning model on the dataset and deploys two endpoints.
Within the solution's notebook, a continuous stream of prediction requests is generated, based on the example data. The generated requests trigger an AWS Lambda function that processes transactions from the example dataset and invokes the two Amazon SageMaker endpoints. The endpoints assign an anomaly score and predict whether those transactions are fraudulent based on the trained ML models. An Amazon Kinesis Data Firehose delivery stream loads the processed transactions into another Amazon S3 bucket for storage.
Once the transactions have been loaded into Amazon S3, you can use analytics tools and services, including Amazon QuickSight, for visualization, reporting, ad-hoc queries, and more detailed analysis.
By default, the solution is configured to process transactions from the example dataset. To use your own dataset, you must modify the solution. For more information, see the deployment guide.
Fraud Detection Using Machine Learning
Version 2
Last updated: 05/2020
Author: AWS
Estimated deployment time: 5 min
Deployment resources
Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.
Features
Customizable
Automation

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Find AWS certified consulting and technology partners to help you get started.

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.