benedekrozemberczki / SGCN

A PyTorch implementation of "Signed Graph Convolutional Network" (ICDM 2018).
GNU General Public License v3.0
268 stars 58 forks source link

How can I run the SGCN with the data containing not numerical ID? #10

Closed songsong0425 closed 2 years ago

songsong0425 commented 2 years ago

Before starting, thank you for developing the SGCN model. When I tried to run the code, I faced a problem with input data.

In your example data(bitcoin_otc), all ids have a numerical value. But my data has string data that need to convert to numerical ID. I guess that I should add a converter such as key and library, I'm not sure where should I modify it. Can you suggest the method for running such cases?

songsong0425 commented 2 years ago

I converted ID in my own dataset into integer.