amin-salehi / GATE

Graph Attention Auto-Encoders
72 stars 15 forks source link

Datasets #4

Open hrbwzq opened 4 years ago

hrbwzq commented 4 years ago

How can i use this with my own dataset. How can i change my graph into this kind of format. thank you so much.

amin-salehi commented 4 years ago

As you can see in transductive_classifier.py and inductive_classifier.py, there are three following matrices: G: Adjacency Matrix X: Feature Matrix, each row represents the features of the corresponding node. Y: label matrix for evaluation purposes. Hope this helps.

hrbwzq commented 3 years ago

Thank you so much for your kindness. Now i build a Graph by myself with feature.I want to know how i can make the graph like ind.cora.graph,ind.cora.x,ind.cora.y and so on. it‘s there some code,so that i can change my graph like this easily.

readergy commented 3 years ago

Thank you so much for your kindness. Now i build a Graph by myself with feature.I want to know how i can make the graph like ind.cora.graph,ind.cora.x,ind.cora.y and so on. it‘s there some code,so that i can change my graph like this easily.

Thank you so much for your kindness. Now i build a Graph by myself with feature.I want to know how i can make the graph like ind.cora.graph,ind.cora.x,ind.cora.y and so on. it‘s there some code,so that i can change my graph like this easily.

Excuse me, have you dealt with it? Please give me some advice, thank you.