newlei / fairgo Goto Github PK
View Code? Open in Web Editor NEWLearning Fair Representations for Recommendation: A Graph-based Perspective, WWW2021
Learning Fair Representations for Recommendation: A Graph-based Perspective, WWW2021
您好!拜读了您的paper和部分code,感受颇深,我想尝试复现效果并在此基础上做一些改进。但是我从您的代码和数据集链接中并未找到完整的数据集处理文件(只看到一小部分处理lastfm的data.py,而且还很不完整,只是提取了user和item的属性部分),希望您可以上传一下处理数据集的py文件,感谢!!!
您好!在您的paper中L-th order egocentric 公式里面会涉及到评分矩阵A的元素,我的疑问是既然任务是要预测rating,为什么还可以在训练过程中以引入rating呢?这并不合理吧?
Hi, I am reading your paper and codes, it is very interesting work and I would like to take your work as a baseline. But I have some questions about the implementation.
(1) when updating the filters, it seems that there are two goals -- minimize the recommendation loss and maximize the classification loss. In your paper, a hyperparameter
for user_batch, rating_batch, item_batch in train_loader:
user_batch = user_batch.cuda()
rating_batch = rating_batch.cuda()
item_batch = item_batch.cuda()
d_g_l_get = model(copy.deepcopy(pos_adj),user_batch,rating_batch,item_batch)
# d_g_l_get = model(copy.deepcopy(pos_adj),copy.deepcopy(pos_adj),user,item_i, item_j)
_,f_l,d_l = d_g_l_get
loss_current[0].append(f_l.item())
# loss_current[1].append(d_l.item())
f_optimizer.zero_grad()
f_l.backward()
f_optimizer.step()
# continue
d_g_l_get = model(copy.deepcopy(pos_adj),user_batch,rating_batch,item_batch)
_,f_l,d_l = d_g_l_get
loss_current[1].append(d_l.item())
f_optimizer.zero_grad()
d_l.backward()
f_optimizer.step()
(2) if the prediction is not computed by inner product instead of neural networks(NN), do I need to update the NN together when I update the filters?
Looking forward to your reply!
您好,我注意到原始数据中存在某些缺失值,请问您是使用什么方法填充的呢?非常期待您的回复!
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.