ahxt / neuacf Goto Github PK
View Code? Open in Web Editor NEWImplementation of paper Aspect-Level Deep Collaborative Filtering via Heterogeneous Information Networks
Implementation of paper Aspect-Level Deep Collaborative Filtering via Heterogeneous Information Networks
Thanks for your codes and data sincerely!And in your paper,the addtional information such as actors of movie is crawled from IMDB,would you mind to provide the movielens with it?
Thanks for your code sincerely, I have already run it successfully on amazon movie dataset by the four similarity matrixes you provided. But running the matlab code requires the UI.data which is not in the amazon.7z. So would you mind telling me how to get these data(UI IA IC etc.) from original dataset?
(.venv) mldl@ub1604:~/ub16_prj/NeuACF/src$ python3.6 ./acf.py ../dataset/amazon/ --mat "U.UIU,I.IUI,U.UITIU,I.ITI,U.UIVIU,I.IVI,U.UICIU,I.ICI" --epochs 40 --last_layer_size 64 --batch_size 1024 --num_of_neg 10 --learn_rate 0.00005 --num_of_layers 2 --mat_select median
/home/mldl/v_pub_py36/.venv/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/home/mldl/v_pub_py36/.venv/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
Usage:
acf.py [options] <dataset_dir>
(.venv) mldl@ub1604:/ub16_prj/NeuACF/src$ python3.6 ./acf.py ../dataset/amazon/amovie.train.rating --mat "U.UIU,I.IUI,U.UITIU,I.ITI,U.UIVIU,I.IVI,U.UICIU,I.ICI" --epochs 40 --last_layer_size 64 --batch_size 1024 --num_of_neg 10 --learn_rate 0.00005 --num_of_layers 2 --mat_select median/ub16_prj/NeuACF/src$
/home/mldl/v_pub_py36/.venv/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/home/mldl/v_pub_py36/.venv/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
Usage:
acf.py [options] <dataset_dir>
(.venv) mldl@ub1604:
Is it a specific number or the number when the model converges?
Thank you very much.
When I try to run matlab gen_PathSimMat_MUM_amovie.m
, I got two errors.
Unable to read file 'amovie'. No such file or directory.
Undefined function or variable 'UI'.
Then, I create amovie
folder and put training and testing files in it, but I got another error.
Unable to read file 'amovie'. No such file or directory.
So, I think maybe this amovie should be a file. But what should be in this file? What is the format of this file?
How can I solve the undefined variable 'UI' error?
Thanks for your code sincerely,but now there are some errors in the code you had shared,for example,no definition about len(mat_list)==4,maybe you delete some code.Can you upload or send the corre code?Because my senior Student Projec is based on your work!Thank you sincerely!!
This is my email:[email protected]
Hello, can you provide matlab code for HR and NDCG? thank you very much!
Hello,
Thank you for your work,when I run the code following your steps, I meet the following question, can you tell me how to solve the problem?
(NeuACF) F:\NeuACF\src>python ./acf.py ../dataset/amazon/ amovie --mat "U.UIU,I.IUI,U.UICIU,I.ICI" --epochs 40 --last_layer_size 64 --batch_size 1024 --num_of_neg 10 --learn_rate 0.00005 --num_of_layers 2 --mat_select median
Traceback (most recent call last):
File "./acf.py", line 109, in
U_feature2 = pd.read_csv( U_feature_dir2, sep=",", header=None ).fillna( 0 ).as_matrix()
NameError: name 'U_feature_dir2' is not defined
您好,我发现直接使用您提供的data文件(维度:n×2),确实会出现相似度矩阵为2×2的情况,不知道你是否先将data文件转换为邻接矩阵再进行相似度计算呢
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.