Show HN: Construct SQL from table records with decision tree
Category: devtools
Tags: sql-generation, decision-tree, explainable-ai, python, streamlit
Score: 6.3/10 (Innovation: 6, Technical: 7, Documentation: 7, Utility: 5)
InverSQL generates SQL queries from user-selected table records by overfitting a decision tree and converting the logic to boolean expressions, then simplifying with sympy. It offers a novel approach to SQL generation for non-technical users, combining explainable AI with practical database query construction.
Target audience: backend devs, data engineers, data analysts
Repository: https://github.com/rentruewang/inversql · Python · MIT · 12 stars
View on Hacker News