STEP 01 ยท RAW FEATURES
Base Transaction Fields
Amount, merchant, timestamp, location, card metadata
STEP 02 ยท TEMPORAL
Time-Based Features
Hour, day-of-week, is_weekend, time_since_last_txn, is_night
STEP 03 ยท VELOCITY
Rolling Window Aggregates
txn_count_1h, txn_count_24h, total_spend_7d, unique_merchants_24h
STEP 04 ยท BEHAVIORAL
User Baseline Deviation
amount_vs_avg_ratio, new_merchant_flag, unusual_country, amount_z_score
STEP 05 ยท ENCODING
Categorical Encoding
Target encoding for merchant_category, frequency encoding for country