ahxt / NeuACF

Implementation of paper Aspect-Level Deep Collaborative Filtering via Heterogeneous Information Networks
32 stars 7 forks source link

NameError #8

Open Shodowelf opened 3 years ago

Shodowelf commented 3 years ago

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

--mat_select median

--mat U.UIU,I.IUI,U.UICIU,I.ICI

--last_layer_size 64

--epochs 40

--merge attention

--num_of_neg 10

--learn_rate 0.00005

--batch_size 1024

--num_of_layers 2

../dataset/amazon/

amovie

U_feature1 shape: (6170, 6170)

I_feature1 shape: (2753, 2753)

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