HyperGCN
- class dhg.models.HyperGCN(*args, **kwargs)[source]
Bases:
torch.nn.ModuleThe HyperGCN model proposed in HyperGCN: A New Method of Training Graph Convolutional Networks on Hypergraphs paper (NeurIPS 2019). :param
in_channels: \(C_{in}\) is the number of input channels. :typein_channels:int:paramhid_channels: \(C_{hid}\) is the number of hidden channels. :typehid_channels:int:paramnum_classes: The Number of class of the classification task. :typenum_classes:int:paramuse_mediator: Whether to use mediator to transform the hyperedges to edges in the graph. Defaults toFalse. :typeuse_mediator:str:paramfast: If set toTrue, the transformed graph structure will be computed once from the input hypergraph and vertex features, and cached for future use. Defaults toTrue. :typefast:bool:paramdrop_rate: Dropout ratio. Defaults to 0.5. :typedrop_rate:float, optional