Giter Site home page Giter Site logo

Comments (4)

jhljx avatar jhljx commented on August 27, 2024

You can first run python3 main.py --config=config/uci.json --task=preprocessing --method=CTGCN-C to generate the ctgcn_cores directory and the k-core adjacent matrices. Then you can use '--task=embedding' to generate node embeddings of ctgcn.

Hope this helps you!

from ctgcn.

Nick-Kou avatar Nick-Kou commented on August 27, 2024

Thank you! My last question is how do you think the CTGCN-S or CTGCN-C models will perform in terms of learning node embeddings in dynamic time-evolving attributed graphs with features? Do you have any suggestions for the hyper parameters? Lastly, how would the feature files be incorporated?

from ctgcn.

jhljx avatar jhljx commented on August 27, 2024

CTGCN-C might focus on local connective features, while CTGCN-S focus on structural similarity features. You can test both methods on specific tasks.

I test the hyper parameters of CTGCN method in the paper, and I found that this model is robust. So if the memory is limited, you can reduce the k-core number(this is a hyper-parameter) but won't harm the performance. You can also review the parameter sensitivity results in our paper.

If you want to incorporate your own feature files, you need to modify the 'train.py' and 'helper.py'.
In 'train.py' file, I have set a parameter called 'nfeature_folder', you can save all node features at each timestamp in this folder. Then node features will be read from this folder. This folder parameter can be added in the configuration files.

After the above step, you can read node feature through 'get_feature_list' function in the 'helper.py' file. I haven't tested this before, just leave this function for further usage. So you can test it for your own purpose.

from ctgcn.

Nick-Kou avatar Nick-Kou commented on August 27, 2024

Thank you so much. I really appreciate the assistance and suggestions.

from ctgcn.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.