Yiliang Xiong avatar Yiliang Xiong committed 5cb30a1

some minor changes on filenames

Comments (0)

Files changed (2)

import_dataset.do

 // import and save the characterisctic of users and items
 // all the text files are at subdirectory ./track1
 // and the data are saved back in format .dta at ./track1
+//	lines		files
+//	6095		item.txt
+//	2320895		user_profile.txt
+//	2320895		user_key_word.txt
+//	10632833	user_action.txt
+//	50655143	user_sns.txt
+//	73209277	rec_log_train.txt
+//	34910937	rec_log_test.txt
 
 version 11.2
 do define_global.do

predict_choice.do

 capture log close
-log using track1/predict_choice_$nc_$N.log, replace
+log using "track1/predict_choice_($nc)$N.log", replace
 
 // load estimation results
-// use track1/rec_log_result_$nc_$N.dta, clear
+// use "track1/rec_log_result_($nc)$N.dta", clear
 
 ** predict users' choices
 
 sort original_order
 
 // print to a csv file
-outsheet user_id top3_items using track1/rec_log_ranking_$nc_$N.csv if tag_all_user, comma replace
+outsheet user_id top3_items using "track1/rec_log_ranking_($nc)$N.csv" if tag_all_user, comma replace
 
 // save item rankings
-save track1/rec_log_ranking_$nc_$N.dta, replace
+save "track1/rec_log_ranking_($nc)$N.dta", replace
 log close
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.