KumoRFM, incorporating key insights from Table and Graph design patterns.
Table Structure and Entity Design
-
One entity or event per table:
-
Single time column per table:
-
Handle many-to-many relationships with junction tables:
Data Preparation
-
Modify dtypes at `pandas.DataFrame` level before creating tables:
-
Use consistent naming conventions:
-
Ensure unique primary keys:
Semantic Type Assignment
-
Choose meaningful semantic types:
Graph Construction
-
Design for meaningful relationships:
-
Ensure prediction-ready structure:
Common Data Modeling Patterns
Entity-Event PatternSummary
Following these best practices will help ensure your KumoRFM datasets are well-structured, validated, and optimized for performance: Table Design:- One entity or event per table
- Single time column per table
- Unique primary keys with consistent naming
- Junction tables for many-to-many relationships
- Set proper pandas dtypes before creating tables
- Use meaningful semantic types (ID, categorical, text, numerical)
- Validate metadata and semantic types before proceeding
- Design meaningful entity relationships
- Consider PQL query requirements in your structure
- Ensure single connected component
- Test with validation workflow