xusshuai / seal-for-link-prediction Goto Github PK
View Code? Open in Web Editor NEWSEAL, a link prediction framework based on GNN.
SEAL, a link prediction framework based on GNN.
您好!我执行SEAL出 现以下错误:positive examples: 2126, negative examples: 2126.
X: one-hot vertex tag, tag size 1.
embedding feature has considered
Traceback (most recent call last):
File "main.py", line 22, in
seal_for_link_predict()
File "main.py", line 19, in seal_for_link_predict
classifier(args.data, args.is_directed, args.test_ratio, args.dimension, args.hop, args.learning_rate, epoch=args.epoch)
File "D:\phy\SEAL\seal_link_predict.py", line 280, in classifier
graphs_adj, labels, vertex_tags, node_size_list, sub_graphs_nodes, embedding_feature, None, tags_size)
File "D:\phy\SEAL\seal_link_predict.py", line 264, in create_input_for_gnn_fly
X[i] = np.concatenate([X[i], sub_graph_emb[i]], axis=1)
File "<array_function internals>", line 6, in concatenate
ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 2 and the array at index 1 has size 5,应该如何解决呢?谢谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.