Challenges/Feature Engineering for Fraud Detection
Medium🧠 ml design

Feature Engineering for Fraud Detection

You have a transaction dataset with columns: `user_id`, `merchant_id`, `amount`, `timestamp`, `location`, `device_id`. Design a feature engineering pipeline for a fraud detection model. What features would you create? How would you handle real-time feature computation?

solution.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23