i have a raw data about fraud financial transaction, my raw data consists in: time doing…
- User
i have a raw data about fraud financial transaction, my raw data consists in: time doing transactions in day (just hour in 24h format, no day), amount of transaction, type of item transaction, job of user, user id, user lat, user long, merchant id, merchant lat, merchant long, type of transactions. Give me some ways to aggregated new feature for fraud detection.
- Assistant
- Transaction amount deviation from user's average transaction amount.
- Distance between the user and merchant.
- Time difference between the last transaction and current transaction.
- Total amount of transactions made by the user in the last 24 hours.
- Geographic distance between the user and merchant's previous transactions.
- Average transaction amount for the specific type of item purchased.
- Total number of failed transactions attempted by the user.
- Percentage of transactions that involve a new merchant or a new type of item for the user.
- Average transaction amount for the specific type of transaction.
- Difference in transaction amount from the merchant's average transaction amount.
- User
can you write a python class to turn this to code
- Assistant
- User
do you have any idea about this
- Assistant
Sorry, I'm not sure what specifically you are looking for an idea about. Could you please provide more information or context so that I can better understand what you are asking?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.