How an Explainable AI Model Revealed What SQL Dashboards Get Wrong
King County, Washington is home to Seattle, Bellevue, and some of the most dynamic real estate in the Pacific Northwest. We analyzed 21,613 home sales spanning the full spectrum of the market, from $75,000 starter homes to a $7.7 million waterfront estate, with an average sale price of $540,088.
Each record includes 20 features covering the fundamentals a real estate analyst would care about: square footage, bedrooms, bathrooms, lot size, construction grade, condition, year built, and location coordinates. It's a well-understood domain, which makes it the ideal proving ground for a question we hear constantly: do you actually know what's driving your numbers, or are you just looking at averages?
From Raw Data to a Working Model in Minutes
Using Intelligible’s Summand platform, we loaded the raw CSV, created a training view that excluded non-predictive columns and added two engineered features (house age and renovation status), and kicked off model training. The entire process, from upload to trained model with inspectable results, took under ten minutes.
Intelligible trained an Explainable Boosting Machine (EBM) alongside XGBoost and LightGBM in parallel, so we could compare accuracy across approaches. XGBoost, LightGBM, and EBM accuracy was comparable. The main difference was that XGBoost and LightGBM predictions are opaque while the EBM shows exactly why it predicts what it predicts, for every single home, in dollar terms.
That transparency is what makes the model useful beyond a single analysis.
What the Model Revealed
The EBM decomposes each prediction into individual feature contributions measured in dollars, showing how much each feature pushes a home's predicted price above or below the dataset average.
Location dominates everything. Latitude alone carries an average importance of $103,440 per prediction, more than double any structural feature. A home in southern King County sees its predicted price pushed roughly $190,000 below the mean, while a comparable home near Bellevue or the Seattle urban core gets pushed up to $240,000 above the mean. That's a swing of over $400,000 from geography alone.
Construction grade has an exponential curve. Homes at grade 7 (average) contribute about -$7,400 to the prediction. But each step above average accelerates: grade 10 adds +$172,000, grade 11 adds +$310,000, and grade 13 adds over +$1.1 million. The premium for top-tier construction compounds in a way that a linear model would miss entirely.
Condition is linear. Unlike grade, the effect of condition (rated 1 through 5) follows a clean line. Each step up contributes roughly $35,000 more, from -$87,000 at condition 1 to +$55,000 at condition 5.This tells an analyst that condition improvements offer consistent, predictable returns.
These aren't inferred or approximated. They are read directly from the model's learned structure, with confidence intervals that widen where training data is sparse so you know where to trust the result and where to be cautious.
Where SQL Gets It Wrong
Here's where things get interesting. Suppose an analyst runs a straightforward query to understand how bedrooms affect price using a standard GROUP BY function.
The result tells a clear story. One-bedroom homes average $317,643. Two bedrooms: $401,373. Three: $466,232. Four: $635,420. Five: $786,600. Six: $825,521. More bedrooms, higher price. An analyst could reasonably conclude that bedrooms drive price, and more is always better.
The model tells a different story. When the EBM isolates the independent effect of bedroom count, controlling for square footage, location, grade, and everything else, it finds that 3 bedrooms is the sweet spot, contributing +$5,200 to the prediction. Beyond that, additional bedrooms actually hurt: 5 bedrooms contributes -$12,100, and 6 bedrooms contributes -$46,600.
Why does the SQL get it wrong? Because AVG(price) GROUP BY bedrooms doesn't just measure bedrooms. It measures everything correlated with bedrooms. Homes with 6 bedrooms also tend to be larger, in wealthier neighborhoods, and built to higher construction grades. The SQL average attributes all of that combined premium to the bedroom count. The EBM separates those effects and reveals that once size, location, and quality are accounted for, packing more bedrooms into the same home divides it into smaller, less desirable rooms, and the market prices that accordingly.
This isn't a flaw in SQL. SQL answered the question it was asked. But the question most analysts think they're asking ("what is the effect of adding a bedroom?") requires controlling for confounding variables. That's what the model does automatically.
A Model You Build Once and Keep Asking Questions
The real shift isn't just the initial analysis. It's what happens after.
Once the EBM is trained, it becomes a persistent, reusable layer you can query conversationally. Ask "what drives price in this dataset?" and get the ranked feature contributions. Follow up with "how does grade compare to square footage?" and get a direct comparison of their shape functions. Ask "what would a 3-bedroomwaterfront home in this zip code sell for?" and get a point prediction with a full per-feature breakdown showing exactly where the number came from. Every answer is grounded in the same trained model, and every follow-up builds on the last.
This is fundamentally different from a traditional workflow where each new question means writing a new query, building a new pivot table, or filing a new request with the analytics team. The model holds the full multivariate structure in memory. The conversation navigates it.
Building Agentic Workflows on a Grounded Layer
The trained model isn't just for interactive Q&A. It becomes infrastructure.
You can schedule recurring scoring against new data, so that every week's listings are automatically priced with a full contribution breakdown. You can set up drift monitoring that flags when the relationship between features and price starts to shift. You can build counterfactual analyses ("what's the minimum change that would raise this home's predicted value by $50,000?") directly in the conversation and get an answer in seconds.
Because every prediction decomposes into auditable, additive feature contributions, downstream workflows inherit that transparency. An automated valuation report doesn't just say "$625,000." It says"$625,000, because latitude contributed +$65,000, grade contributed+$172,000, and above-ground square footage contributed +$107,000." That level of grounding is what separates a useful automation from a black-box number generator.
Who This Is For
Operations and analytics leads who are tired of waiting on data science teams to answer questions that feel like they should be self-serve. Intelligible lets you go from a raw dataset to a trained, inspectable model without writing Python or managing infrastructure.
Finance and real estate professionals who need defensible valuations, not just estimates. Every prediction comes with aper-feature breakdown that stands up to scrutiny in a review, a pitch, or a compliance audit.
Product and growth teams running experiments on correlated data. If you've ever built a dashboard that says "users who do X convert at 2x the rate" without controlling for the ten other things correlated with X, you've made the same mistake the bedroom SQL made. The EBM isolates the actual effect.
Technical founders and builders who want to layer AI-driven insights into their products without building an ML pipeline from scratch. The conversational interface and API layer mean you can prototype a model in minutes and wire it into a production workflow the same day.
The common thread: anyone making decisions on data who has hit the ceiling of what averages and group-bys can tell them, and who needs answers they can explain and defend.
Why This Matters
The bedroom example isn't a quirky edge case. It's representative of a pattern that shows up in every dataset: averages and group-bys conflate correlation with contribution. In business contexts, this leads to mispriced assets, misallocated budgets, and strategic decisions built on confounded signals.
Intelligible doesn't require you to become a data scientist. It gives you a trained, inspectable model through a conversational experience that meets you where you already are: asking questions about your data and expecting real answers. The difference is that now, the answers are grounded in what actually drives the outcome, not what happens to be correlated with it.
Built with Intelligible. The King County house sales dataset is publicly available.



