By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Why is entity ID and event ID important in Amazon Fraud Detector?

0

I'm having difficulty finding information about the entityId and eventId input variables to get a prediction from Amazon Fraud Detector.

The description is only "The unique ID used to identify the event." and "The entity ID. If you do not know the entityId , you can pass unknown , which is areserved string literal." Can someone explain why this variable is important? What happens if someone uses the same event ID for two different events? How are entity IDs created?

AWS
asked 4 years ago663 views
1 Answer
0
Accepted Answer

Entity ID is "who" performed the event. Depending on the type of data, this could be a username, user ID, company name, etc. If you think about an ML model and trying to predict fraud... you could imagine that if UserA has committed fraud in the past, it is more likely that transactions from UserA in the future are fraudulent. So, providing entity ID can help with accuracy of predictions. Though, it is not a required field and that's why you could just pass in unknown.

Source

Event ID is just what it sounds like. It's a specific purchase, credit card transaction, etc. I think that if a customer is using a proper data set, one would not expect two records to have the same Event ID. If the customer's data set does not have a unique event ID, they should create a synthetic ID... either a concatenation of other fields that uniquely represent the row, or just generate a UUID.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions