Step 1: Define event to evaluate for fraud - Amazon Fraud Detector

Step 1: Define event to evaluate for fraud

  1. Open the AWS Console and sign in to your account. Navigate to Amazon Fraud Detector.

  2. In the left navigation pane, choose Events.

  3. On the Events page, choose Create.

  4. Enter sample_registration as the event type name.

  5. In the Entity drop-down, select Create entity.

  6. In Create entity type, enter sample_customer as the entity type name and, optionally, enter a description of the entity type.

  7. Choose Create entity.

  8. For Event variables, choose Select variables from a training dataset.

  9. In IAM role, select Create IAM role. On the Create IAM role page, enter the specific bucket name where you uploaded your training data. Choose Create role.

  10. In Data location, enter the path to your training data. Then choose upload. Amazon Fraud Detector will extract the headers from your training dataset.

  11. To allow Amazon Fraud Detector to interpret your variables, you must map them to variable types. Map ip_address to “IP Address” and email_address, to “Email Address”.

  12. For Labels, choose Create new labels.

  13. In Create label, enter fraud as the label name as this label corresponds to the value that represents fraudulent events in the synthetic dataset.

  14. Choose Create label.

  15. Create a second label by following the same steps, this time entering legit as the label name as this corresponds to the value that represents legitimate events in the synthetic dataset.

  16. Choose Create event type.

  17. In Build a model, choose Build a model.