I have implicit feedback from users about their interaction with different products. Following is the structure of dataset: user_id, product_category, event_date,view_count,purchase_count
Based on this data I am trying to predict a score for a user's affinity to a product category. MLIB implicit form expects the input dataset of the format Rating(user: Int, product: Int, rating: Double). But how do I include view_count and purchase_count ?
If MLLIB can't be used is there any other method I can use. My product categories are limited (only 8 product categories). In that case can I use 8 logistic regression models to predict affinity ?
Thanks