Get and upload example dataset
The example dataset you use in this tutorial provides details of online account registrations. The dataset is in a text file that uses comma-separated value (CSV) in the UTF-8 format. The first row of the CSV dataset file contains the headers. The header row is followed by multiple rows of data. Each of these rows consists of data elements from a single account registration. The data is labeled for your convenience. A column in the dataset identifies whether the account registration is fraudulent.
To get and upload example dataset
-
Go to Samples
. There are two data files that has online account registration data - registration_data_20K_minimum.csv and registration_data_20K_full.csv. The file
registration_data_20K_minimum
contains only two variables: ip_address and email_address. The fileregistration_data_20K_full
contains other variables. These variables are for each event and they include billing_address, phone_number, and user_agent. Both data files also contain two mandatory fields:-
EVENT_TIMESTAMP – Defines when the event occurred
-
EVENT_LABEL – Classifies the event as fraudulent or legitimate
You can use either one of the two files for this tutorial. Download the data file you want to use.
-
-
Create an Amazon Simple Storage Service (Amazon S3) bucket.
In this step, you create an external storage to store the dataset. This external storage is Amazon S3 bucket. For more information about Amazon S3, see What is Amazon S3?
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In Buckets, choose Create bucket.
-
For Bucket name, enter a bucket name. Make sure that you follow the bucket naming rules in the console, and provide a globally unique name. We recommend you use a name that describes the bucket's purpose.
-
For AWS Region, choose the AWS Region where you want to create your bucket. The Region that you choose must support Amazon Fraud Detector. To reduce latency, choose the AWS Region that's closest to your geographic location. For a list of Regions that support Amazon Fraud Detector, see the Region Table
in the Global Infrastructure Guide. -
Leave the default settings for Object Ownership, Bucket settings for Block Public Access, Bucket Versioning, and Tags for this tutorial.
-
For Default encryption, choose Disable for this tutorial.
-
Review your bucket configuration, and then choose Create bucket.
-
Upload example data file to Amazon S3 bucket.
Now that you have a bucket, upload one of the example files that you downloaded previously to the Amazon S3 bucket that you just created.
-
In the Buckets, your bucket name is listed. Choose your bucket.
-
Choose Upload.
-
In Files and folders, choose Add files.
-
Choose one of the example data files that you downloaded on your computer, and then choose Open.
-
Leave the default settings for Destination, Permissions, and Properties.
-
Review configurations, and then choose Upload.
-
The example data file is uploaded to Amazon S3 bucket. Make a note of the bucket location. In the Objects, choose the example data file that you just uploaded.
-
In the Object overview, copy the location under S3 URI. This is the Amazon S3 location of your example data file. You use it later. You can additionally copy the Amazon Resource Name (ARN) of your S3 bucket and save it.
-