gcn icon indicating copy to clipboard operation
gcn copied to clipboard

batch-wise classification of multiple graph instances

Open Atif-ub opened this issue 5 years ago • 3 comments

@tkipf I have read the Issue #4 , there you discussed approximatly the same issue.

I want to use gcn of banking related data and want to train it on graph patterns.. But I am stuck in how should I do it. especially how to create tha Adj matrix for multiple Graph instances. and its feature matix. I tried to search this topic alot on search engines but there is no anwer found any where.

can you help me out , do you have any code where this multiple graph instance problem is considered ?

Atif

Atif-ub avatar Jun 28 '19 14:06 Atif-ub

I recommend having a look at https://www.dgl.ai — their framework supports automatic batching for graph classification.

On Fri 28. Jun 2019 at 16:03 aubutt [email protected] wrote:

I have read the Issue #4 https://github.com/tkipf/gcn/issues/4 , there you discussed approximatly the same issue.

I want to use gcn of banking related data and want to train it on graph patterns.. But I am stuck in how should I do it. especially how to create tha Adj matrix for multiple Graph instances. and its feature matix. I tried to search this topic alot on search engines but there is no anwer found any where.

can you help me out , do you have any code where this multiple graph instance problem is considered ?

Atif

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tkipf/gcn/issues/123?email_source=notifications&email_token=ABYBYYACI2R7XWK7PQBD2T3P4YK2RA5CNFSM4H4FU4IKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4KKXCQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYBYYHR7DCBQYE36PVE6GTP4YK2RANCNFSM4H4FU4IA .

tkipf avatar Jun 28 '19 17:06 tkipf

ok Thanks I will definalty have a look into it. But this pictures appealing alot.. How your framework support this.. is there any example ? image

Atif-ub avatar Jun 28 '19 22:06 Atif-ub

This may help. https://github.com/weihua916/powerful-gnns/blob/ef085170f73da85639f0d18bbf0800e0d9ff2e76/models/graphcnn.py#L86

leichen2018 avatar Jul 16 '19 09:07 leichen2018