(self)
| 473 | graph, label |
| 474 | """ |
| 475 | def __init__(self): |
| 476 | super(Flickr, self).__init__( |
| 477 | "flickr", |
| 478 | urls={ |
| 479 | "graph": "http://socialnetworks.mpi-sws.mpg.de/data/flickr-links.txt.gz", |
| 480 | "label": "http://socialnetworks.mpi-sws.mpg.de/data/flickr-groupmemberships.txt.gz" |
| 481 | } |
| 482 | ) |
| 483 | |
| 484 | def label_preprocess(self, label_file, save_file): |
| 485 | self.top_k_label(label_file, save_file, k=5) |