Two different types of neg_sampling for DIEN model. #1224
-
As DIEN model combines CF and sequential, I know it should be a bit more complex in terms of correctly implementing it. To my knowledge, we need to do 2 types of negative samplings. Second, all the datapoints are considered to be positive examples in CTR prediction. So as long as I do not use any explicit label data, I will not have label feature column. In this case, I should mention in config 'neg_sampling' to do datapoint-wise for label negative sampling (Let me know if I am wrong). So I did all as I mentioned. After data processing, I can see I got neg_item_id_list as expected, but I dont see label feature column in inter_feat or anywhere else. And the datapoint size is not augmented by 'neg_sampling' : {'uniform':2}. So my questions are below.
Thank you for your advice in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@Jeriousman Hello, thanks for your attention to RecBole!
|
Beta Was this translation helpful? Give feedback.
@Jeriousman Hello, thanks for your attention to RecBole!
You don't need to set correct feature that will be entailed with '_list' to define which feature is sequence type.
<user,item,timestamp>
,and we will generate theitem_id_list
andneg_item_id_list
.