Intermediate Relational Algorithm Design
summary
Relational-algorithms assume inputs stay in relational form and claim most useful operations reduce to sum-product queries; the talk shows concrete reductions: uniform sampling reduces to counting via variable elimination on path joins, 1-means++ and 2-means++ become implementable by designing a semi-ring pair (count,sumSquares) and running variable-elimination, while 3-means++ is NP-hard on compact tables so the practical fix is rejection sampling with axis-aligned boxes; counting in a hypersphere is approximable to 1+ε when operations preserve approximation; an ID3-as-homework implementation is proposed.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:48Compressed Text
- 2:14Restricted Models
- 3:04Joints
- 5:29Product Queries
- 33:16Conclusion
- 34:04Example
- 40:49Questions
related talks
05mRelational Programming
15mSpeeding up Symbolic Reasoning for Relational Queries
38mAdd ALL the things: abstract algebra meets analytics
29mDirect Access for Conjunctive Queries with Aggregation
04mLogic and Algorithms In Database Theory and AI
01h 03mQuery Optimization and Evaluation 3: Variable Elimination and Tensor Decomposition
26mRelational E-matching
01h 06mSampling in Query Evaluation 1
