diff --git a/README.md b/README.md index 18f01bd..130d7b9 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,6 @@ FM因子分解机模型的相关paper,在计算广告领域非常实用的模 * [fastFM- A Library for Factorization Machines.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/fastFM-%20A%20Library%20for%20Factorization%20Machines.pdf)
* [FM PPT by CMU.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/FM%20PPT%20by%20CMU.pdf)
* [libfm-1.42.manual.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/libfm-1.42.manual.pdf)
- * [Scaling Factorization Machines to Relational Data.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/Scaling%20Factorization%20Machines%20to%20Relational%20Data.pdf)
diff --git a/generateReadme.py b/generateReadme.py index 52b3360..d9feba3 100644 --- a/generateReadme.py +++ b/generateReadme.py @@ -24,7 +24,6 @@ for line in all_lines: if catalog_flag != 1: out_file.write(line) - #print line if line.startswith("##"): catalog_flag = 1 @@ -47,14 +46,12 @@ if line.startswith("###"): paper_class_flag = 1 paper_class_name = line[3:].strip() -#* [Ad Click Prediction a View from the Trenches.pdf](https://github.com/wzhe06/Ad-papers/blob/master/CTR%20Prediction/Ad%20Click%20Prediction%20a%20View%20from%20the%20Trenches.pdf) github_root = "https://github.com/wzhe06/Ad-papers/blob/master/" all_dir = os.listdir("./") for one_dir in all_dir: if os.path.isdir(one_dir) and not one_dir.startswith('.'): out_file.write("\n### " + one_dir+"\n") - print "one_dir", one_dir.strip() if one_dir.strip() in paper_class_map: out_file.write(paper_class_map[one_dir.strip()] + "\n") all_sub_files = os.listdir(one_dir) @@ -62,9 +59,7 @@ if not os.path.isdir(one_file) and not one_file.startswith('.'): out_file.write("* [" + one_file + "]("+github_root + urllib.quote(one_dir.strip())+"/" + urllib.quote(one_file.strip())+")
\n") - print one_file.strip() if one_file.strip() in paper_map: out_file.write(paper_map[one_file.strip()] + "\n") -print paper_map out_file.close()