Hello ๐
My name is Patricio, and I'm a Machine Learning Engineer from Chile.
Currently at MindsDB.
Keras implementation of GRU4Rec session-based recommender system
Hello ๐
My name is Patricio, and I'm a Machine Learning Engineer from Chile.
Currently at MindsDB.
Hey,
I saw that there is no license in the repo.
Can you please explain about using your code? What is permitted?
Thanks in advance
Hi there,
As it seems your training generator basically generates the data so that for each batch you receive the reset mask at the beginning of the batch. To be more precise here are some examples:
Mask: []
Rest: [0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]
Feat: [ 0 4 9 12 14 16 18 19 20 29]
Trgt: [ 1 4 10 13 15 17 18 19 20 29]
Mask: [3 4 5 6 9]
Rest: [0. 0. 0. 1. 1. 1. 1. 0. 0. 1.]
Feat: [ 1 4 10 30 32 36 34 19 20 32]
Trgt: [ 2 5 11 31 33 36 35 19 21 32]
As you can see from the generated data the model has to reset the RNN cells states prior to the fw/bp passes done in the train_on_batch, otherwise the reset will be done after the current session last step is "connected" to the next session first step. However in your code you are resetting the RNN cells after the train_on_batch.
Thanks for the gru4rec implementation with Keras.
What is the best approach to real-time prediction?
When the model is ready for real-time prediction and the sequence length are different. How can we set the whole sequence as one input compare to set one by one item?
Any answer will help
Thanks
Thanks for implementing GRU4Rec in Keras.
I have a more theoretical question, like in the collaborative filtering approach, we can set the total rank to an item based on different interactions like view, add to cart, purchase.
It is possible to set different weights to different sequence types in this approach as well?
Thanks in advance
Thanks for the implementation of Keras gru4rec.
I notify some issues in your code:
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.