tkipf / pygcn

Graph Convolutional Networks in PyTorch
MIT License
5.13k stars 1.22k forks source link

Data format #39

Open InstantWindy opened 5 years ago

InstantWindy commented 5 years ago

Hi! How do you process the data and save it as .content format ? what is the the content of 'cora.cities' and 'cora.content' ? Thanks!

kexinhuang12345 commented 5 years ago

Check this function https://github.com/tkipf/pygcn/blob/1600b5b748b3976413d1e307540ccc62605b4d6d/pygcn/utils.py#L15

cora.cites is the edge and cora.content is the node index, feature and labels