allenjack / gate Goto Github PK
View Code? Open in Web Editor NEWThe implementation of "Gated Attentive-Autoencoder for Content-Aware Recommendation"
License: MIT License
The implementation of "Gated Attentive-Autoencoder for Content-Aware Recommendation"
License: MIT License
Great work and implement,can you share the processed movilen dataset or process script?
Thanks!
Hi allenjack! I just tried to run your code in the exact way you showed in readme file. But I got error information as following:
DEBUG:main:epoch:0
Traceback (most recent call last):
File "run.py", line 251, in
main()
File "run.py", line 247, in main
train_model(train_matrix, item_content_matrix, item_relation_matrix, word_seq, test_set, args)
File "run.py", line 204, in train_model
batch_x_weight = Variable(torch.from_numpy(batch_x_weight).type(dtype), requires_grad=False)
TypeError: can't convert np.ndarray of type numpy.int32. The only supported types are: double, float, float16, int64, int32, and uint8.
Thank you for your attention!
My problem may be too simple, but it confuses me very much. Please pay attention to it~~
In auto encoder, I know, it's trained x to x~, so it can learn more accurate hidden layer. My question is: when we make predictions, test data is items which users don't rate. So, what's the input? where's input in the network architecture? is gating layer's input? or Encoder_r's input? or other?
Thanks for your attention!
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.