The first release of scikit-link: features, trees, forests, gradient boosting, clustering and anomaly detection on related tables, with the scikit-learn API.
Blog
Find worked Python examples and design notes on learning from related tables. Start with the customer and orders walkthrough to fit a model from separate tables.
- What's new in scikit-link 0.1.0, the first release
- Introducing scikit-link: scikit-learn for related tables
Why we are building scikit-link, the multi-table problem it solves for scikit-learn users, and what it can do today.
- Data leakage in multi-table features, and how to avoid it
Why aggregating child tables leaks future data into a model, how to measure it with temporal cross-validation, and how per-sample cutoffs prevent it.
- Relational decision trees, explained with Python
How relational decision trees learn conditions on related tables, why they find interactions flat features miss, and how to fit and tune them in Python.
- 8 relational feature recipes for Python
Copyable Python recipes for multi-table features: counts, aggregates per category, multi-hop paths, catalog control, short names and a tree that picks features.
- How to train a scikit-learn model on multiple tables
Step-by-step Python tutorial: train a scikit-learn model on customers and orders, from groupby and merge to relational features and trees, without leakage.