晶体简介
Constraints
Evidence Quality
Medium confidence — review before critical use
70 条不可违反的约束
WHENWhen implementing temporal data splitting for knowledge graphs
ACTIONuse time-ordered train/val/test split with train_edges occurring before val_edges and test_edges temporally
CONSEQUENCETemporal knowledge graphs will suffer from look-ahead bias where model sees future events during training, causing inflated metrics that do not reflect real-world temporal prediction performance
WHENWhen storing temporal edge data in DGLGraph edata
ACTIONconvert time values to float32 dtype to verify numerical precision for time interval calculations
CONSEQUENCETime interval calculations (G.time_interval = min(time_diff)) will produce incorrect or inconsistent results due to dtype mismatches, breaking the time interval transform pipeline in DKG/model/time_interval_transform.py
WHENWhen storing node type identifiers in DGLGraph ndata
ACTIONconvert node type values to integer type matching the graph idtype to verify consistent graph operations
CONSEQUENCEGraph operations (edge_subgraph, degree calculations) will fail or produce incorrect results due to dtype mismatch between node indices and node type identifiers
常见问题
讨论 (0)
暂无讨论,成为第一个发言的人吧!
更新历史
v0.1.0: 首次发布到 Doramagic.ai。基于 tangweigang-jpg/doramagic-skills 的自动化 batch-v1 元数据 + 自动生成 FAQ。