Browse Source

Create ReadMe.md

GuHong 4 years ago
parent
commit
ad3060257d
1 changed files with 21 additions and 0 deletions
  1. 21 0
      libFM_in_action/code_file/ReadMe.md

+ 21 - 0
libFM_in_action/code_file/ReadMe.md

@@ -0,0 +1,21 @@
+In the competion,I used a tool named libFM(http://www.libfm.org/),which do well in recommendation system.
+
+To reproduce the best submission,you should do follow steps.
+
+1.Download libFM and make it.
+2.Change the data as the model wanted.This will be showed in libFM file.Also,before this,you should run data_convert.ipynb in my data_change file.
+3.Run libFM. 
+
+./libFM -task r -train train.txt.libfm -test test.txt.libfm -iter 2000 -method mcmc -out predict.libfm
+
+4.After iter of 2000,you will get the result file.Then,copy it to data_chage file and run the rest part of data_convert.ipynb.
+
+5.You get the submission.
+
+
+Note:
+
+1.The result is randomness to some degree,but not too much.For the method mcmc is randomness begin.
+2.You can use offline_test in data_change to make val data.May get a beter param.
+
+For the use of libFM,picture is followed.