Comments (4)
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.
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.
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.
Thank you so much. I really appreciate the assistance and suggestions.
from ctgcn.
Related Issues (10)
- miss pair file HOT 1
- path error
- walk generate problem HOT 12
- Ask A Question HOT 7
- ValueError when doing link prediction with methods 'CGTCG-S', 'CGCN-S' and 'EvolveGCN'. HOT 6
- Question About core_num HOT 1
- CUDA out of memory HOT 2
- Some issues about weighted graph HOT 1
- Dimensions do not match in VGRNN HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctgcn.