slientge / sequential_recommendation_tensorflow Goto Github PK
View Code? Open in Web Editor NEWSeveral sequential recommended models implemented by tenosrflow1.x
Several sequential recommended models implemented by tenosrflow1.x
Are you planing to add the code for SEQNBT from: https://arxiv.org/pdf/2207.06225v1.pdf ?
fmc = torch.div(torch.sum(torch.matmul(Vil, Vli.permute(0, 2, 1)), dim=-1), item_list_len.float())
item_list_seq与pred的score是否应该除以其实际的长度而不是tf.mean
I have tried to test the AttRec model with other datasets, but have been unsuccessful. Excuse me, what are the requirements for the dataset?
Should not it be all_user_count = len(user_map) ? Instead of item_map?
Got a lot of errors running your code. Could you please upgrade your code to use TF 2.0?
Wish the author to complete SASRec model, please. I guess there is a missing file called model_SASRec.py.
# ReMap usr ids
user_unique = data['user'].unique().tolist()
user_map = dict(zip(user_unique, range(1, len(user_unique) + 1)))
user_map[-1] = 0
all_user_count = len(**_user_map_**)
data['user'] = data['user'].apply(lambda x: user_map[x])
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.