zealscott / hakg Goto Github PK
View Code? Open in Web Editor NEWSource code for HAKG: Hierarchy-Aware Knowledge Gated Network for Recommendation. SIGIR 2022.
Home Page: https://arxiv.org/abs/2204.04959
License: Apache License 2.0
Source code for HAKG: Hierarchy-Aware Knowledge Gated Network for Recommendation. SIGIR 2022.
Home Page: https://arxiv.org/abs/2204.04959
License: Apache License 2.0
您好,可以提供下处理过的yelp2018数据集嘛,代码中只提供了处理过的的alibaba-ifashion数据集。
你好,请问能提供其他几个数据集吗?
你好,关于hakg的论文看完了。
为了直接运行代码,
我想获得Yelp 2018 raw dataset,但因为我是外国人,所以没能加入qq网站,无法下载review数据。 如果不失礼的话,希望通过谷歌驱动链接共享数据。
谢谢。
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\envs\hakg\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "D:\ProgramData\Anaconda3\envs\hakg\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "D:\download\HAKG-main\HAKG-main\utils\evaluate.py", line 92, in test_one_user
user_pos_test = test_user_set[u]
NameError: name 'test_user_set' is not defined
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "main.py", line 123, in
ret = test(model, user_dict, n_params)
File "D:\download\HAKG-main\HAKG-main\utils\evaluate.py", line 168, in test
batch_result = pool.map(test_one_user, user_batch_rating_uid)
File "D:\ProgramData\Anaconda3\envs\hakg\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "D:\ProgramData\Anaconda3\envs\hakg\lib\multiprocessing\pool.py", line 771, in get
raise self._value
NameError: name 'test_user_set' is not defined
Why is the model code inconsistent with your paper description?
What is the license policy for this project?
Please indicate in the README.
when I run the code,I find that I have to change
graph_tensor = torch.tensor(list(graph.edges)) to
graph_tensor = torch.tensor(list(graph.edges(keys=True))) in HAKG.py,line224.
Otherwise the keys will not be shown in graph.edges().Maybe it's caused by the version of networkx.Hope this can help those who have the same problem.
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.