leavingseason / rnn_recsys Goto Github PK
View Code? Open in Web Editor NEWOur implementation of the paper "Embedding-based News Recommendation for Millions of Users"
Our implementation of the paper "Embedding-based News Recommendation for Millions of Users"
hi,author
I have some questions about the training data.
in train.txt,What each line represents
and in article.txt,The first line and the second line are repeated eighft times.?
近期打算使用Embedding based News Recommendation,在GitHub找到了你写的开源代码,代码和逻辑都挺清晰的,但整个工程没有完成,是否能够和博主一块把剩余的开发完整呢,我的wx:1204834968
hi,dear
what's the meaning of the sentence ?
data/RS/train.txt: each line is a training instance, in the form of user_history \t target_item_id \t label. user_history is a sequence of item_id, splited by space.
user_history is only user clicks ?
target_item_id is the user last click ?
and if the last click is real click , the label is 1, else 0,
could u pls help me ?
thx
I don't understand why rnn input file has no user_id,train_RS not finished yet?Or have some other consideration?
hi,
Thanks for your sharing.
i'm trying to apply your code to my toy recommendation project. During it, I've developed into 3 concerns:
mldl@ub1604:/ub16_prj/rnn_recsys$ python3 train.py/ub16_prj/rnn_recsys$
launching the program...
1.4.0
Traceback (most recent call last):
File "train.py", line 233, in
train_RS()
File "train.py", line 124, in train_RS
my_model = RNNRS(**hparams)
File "/home/mldl/ub16_prj/rnn_recsys/models/RNNRS.py", line 35, in init
self.predictions, self.error, self.loss, self.train_step, self.summary = self._build_model()
File "/home/mldl/ub16_prj/rnn_recsys/models/RNNRS.py", line 65, in _build_model
preds = tf.sigmoid( tf.reduce_sum(tf.multiply(u_t, self.Item), 1, keepdims = True) + global_bias , name= 'prediction') ##--
TypeError: reduce_sum() got an unexpected keyword argument 'keepdims'
Exception ignored in: <bound method BaseRS.del of <models.RNNRS.RNNRS object at 0x7f77f5a6dba8>>
Traceback (most recent call last):
File "/home/mldl/ub16_prj/rnn_recsys/models/LinearAvgRS.py", line 29, in del
if self.log_writer:
AttributeError: 'RNNRS' object has no attribute 'log_writer'
mldl@ub1604:
Hi ,I am a little confused about word_hashing_file = r'Y:\BingNews\Zhongxia\my\articles_wordhashing_3w.obj'.
Dose the word_hashing_file contain some context or is just empty? I don't have this file. Should I create one or the project will create this file automatically when it compiles?
hi
you have done a great work . can you please email or share the link of original complete dataset.
I will appreciate.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.