naomihng / coupon-purchase-prediction

Predict coupon purchase based on past purchase and browsing behavior (data from Kaggle)
1 stars 1 forks source link

Feature selection 2: top_most_recent_visited_genre_last_week & top3_visited_genre #16

Open Nelsontwb93 opened 7 years ago

Nelsontwb93 commented 7 years ago

takes USER_ID_hash and returns the top-3 most visited genres for that specific user in vector format. This function is used in Decision Tree strategy to identify the 3 most visited categories of coupons for each user in VISITS data file.

Nelsontwb93 commented 7 years ago

takes USER_ID_hash and returs the top-3 most recent visited genres for that user. This function is used in Decision Tree strategy to identify the 3 most visited categories of coupons for each user in VISITS data file.