-
Hello I am new to GCN design and creation and hoping for some guidance if possible. Firstly, are there any particular model examples to study in the field of heterogenous graph regression? I am struggling to find any example implementation. Particularly those with edge features. My particular challenge is looking at the prediction of house prices. I have created a preliminary HeteroData graph (more node types to be added if successful) shown below:
Really simply, the y is the property price whilst the x is the area and property type. The other nodes are train stations and cities (although I have a single city for now) For both edge types the attribute is the Euclidean distance I have attempted various HGTConv implementations without success but I know I am likely missing fundamentals. Any guidance would be greatly appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
You can use conv = HeteroConv({
edge_type: GraphConv((-1, -1), 64) for edge_type in data.edge_types
}, aggr='sum')
conv(data.x_dict, data.edge_index_dict, edge_weight_dict=data.edge_weight_dict) |
Beta Was this translation helpful? Give feedback.
You can use
HeteroConv
to perform heterogeneous message passing with underlying message passing operators that support edge weights/edge features, e.g.,GraphConv
: