Finance KG Embedding
Finance KG Embedding: Finance KG Embedding: specialized toolkit for 3+ finance workflows covered in the triggers section.
Overview
Constraints
Evidence Quality
Medium confidence — review before critical use
70 non-negotiable constraints
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
FAQ
Discussion (0)
No comments yet. Be the first to share!
Changelog
v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.