CompGCN

class CompGCN(*, triples_factory: CoreTriplesFactory, embedding_dim: int = 64, encoder_kwargs: Mapping[str, Any] | None = None, interaction: str | Interaction[Tensor, RelationRepresentation, Tensor] | None = None, interaction_kwargs: Mapping[str, Any] | None = None, **kwargs)[源代码]

基础类:ERModel[Tensor, RelationRepresentation, Tensor]

CompGCN的实现来自[vashishth2020]

该模型使用图卷积和组合函数。

初始化模型。

Parameters:

属性摘要

hpo_default

优化模型超参数的默认策略

属性文档

hpo_default: ClassVar[Mapping[str, Any]] = {'embedding_dim': {'high': 512, 'low': 32, 'q': 32, 'type': <class 'int'>}}

优化模型超参数的默认策略