MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / Flickr

Class Flickr

python/graphvite/dataset.py:468–485  ·  view source on GitHub ↗

Flickr social network dataset. Splits: graph, label

Source from the content-addressed store, hash-verified

466
467
468class Flickr(Dataset):
469 """
470 Flickr social network dataset.
471
472 Splits:
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)
486
487
488class Hyperlink2012(Dataset):

Callers 1

dataset.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected