Skip to content

Commit e8c2c1a

Browse files
committed
automatically generate readme
1 parent c1cf722 commit e8c2c1a

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ FM因子分解机模型的相关paper,在计算广告领域非常实用的模
7676
* [fastFM- A Library for Factorization Machines.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/fastFM-%20A%20Library%20for%20Factorization%20Machines.pdf) <br />
7777
* [FM PPT by CMU.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/FM%20PPT%20by%20CMU.pdf) <br />
7878
* [libfm-1.42.manual.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/libfm-1.42.manual.pdf) <br />
79-
8079
* [Scaling Factorization Machines to Relational Data.pdf](https://github.com/wzhe06/Ad-papers/blob/master/Factorization%20Machines/Scaling%20Factorization%20Machines%20to%20Relational%20Data.pdf) <br />
8180

8281

generateReadme.py

-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
for line in all_lines:
2525
if catalog_flag != 1:
2626
out_file.write(line)
27-
#print line
2827
if line.startswith("##"):
2928
catalog_flag = 1
3029

@@ -47,24 +46,20 @@
4746
if line.startswith("###"):
4847
paper_class_flag = 1
4948
paper_class_name = line[3:].strip()
50-
#* [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)
5149

5250
github_root = "https://github.com/wzhe06/Ad-papers/blob/master/"
5351
all_dir = os.listdir("./")
5452
for one_dir in all_dir:
5553
if os.path.isdir(one_dir) and not one_dir.startswith('.'):
5654
out_file.write("\n### " + one_dir+"\n")
57-
print "one_dir", one_dir.strip()
5855
if one_dir.strip() in paper_class_map:
5956
out_file.write(paper_class_map[one_dir.strip()] + "\n")
6057
all_sub_files = os.listdir(one_dir)
6158
for one_file in all_sub_files:
6259
if not os.path.isdir(one_file) and not one_file.startswith('.'):
6360
out_file.write("* [" + one_file + "]("+github_root + urllib.quote(one_dir.strip())+"/"
6461
+ urllib.quote(one_file.strip())+") <br />\n")
65-
print one_file.strip()
6662
if one_file.strip() in paper_map:
6763
out_file.write(paper_map[one_file.strip()] + "\n")
6864

69-
print paper_map
7065
out_file.close()

0 commit comments

Comments
 (0)