AaronHeee / Neural-Attentive-Item-Similarity-Model

TensorFlow Implementation of Neural Attentive Item Similarity Model for Recommendation on TKDE 2018
149 stars 48 forks source link

NAIS.py 中 n的指数α应为负数 #6

Closed molybdenumyz closed 5 years ago

molybdenumyz commented 5 years ago

第145行应修正为 self.coeff = tf.pow(self.num_idx, -tf.constant(self.alpha, tf.float32, [1]))

AaronHeee commented 5 years ago

Thanks to point out that, we will correct our implementation ASAP. Thanks to the setting of alpha=0, our experiments are still valid and thanks for your issue again.