Inspiration

The Gilded Ace’s GM wants to replace the 10 lowest-earning slot machines. The lowest earners aren’t necessarily the worst machines, though. A machine can look weak because of bad luck, a short time on the floor, looser settings, or a quiet corner. We wanted the dashboard to separate those causes before anyone pulls a machine.

What it does

A four-page interactive dashboard, one page per question group:

Weak machines: each machine gets a verdict (Normal, Looser game, Mostly unlucky, Inspect payout, Short time on floor). Nine of the 10 lowest house-win machines sit in Back Forty. They aren’t under-played. Six run loose settings, and M-1158 is flagged for payout inspection. Demand and downtime: a weekday-adjusted demand index, weekday patterns, and estimated downtime losses. Filter by date. Players and comps: outcomes for tracked players by age band, region and tier, how concentrated net losses are, and comp cost as a share of house win. Forecast and $100K plan: a validated forecast and three priced actions totaling $39,900, with $60,100 kept unspent.

How we built it

Everything runs on Databricks. Source files sit in a Unity Catalog volume and become Delta tables. Spark SQL and Python notebooks build gold tables that feed an AI/BI dashboard. We used Genie Code to build and lay out the dashboard pages. The forecast compares a weekday-mean model to a constant baseline on a time-based holdout: train on Jan 1 to Apr 30, test on May 1 to Jun 30. The weekday model’s error was $68.7K, against $218.3K for the baseline. All code is in our GitHub repo.

Challenges we ran into

We started with little Databricks experience. Machines that moved zones had to be assigned to the zone where they spent the most days. Judging luck needed a z-score that is only approximate, since daily results are correlated. We kept the verdict cutoffs as stated judgment calls rather than presenting them as precise.

Accomplishments that we're proud of

Every claim traces to a table and query, and every limitation is disclosed. The recommendation breaks even at roughly a 3% sales lift and loses money at zero lift, and the dashboard says so.

What we learned

Lowest earning is not the same as weakest. Separating luck, settings, time on floor and location changes who gets replaced. We also learned how to structure a Databricks pipeline from raw files to dashboard.

What's next for Dashboard Royale

Test the promotion and wayfinding lift assumptions with a small pilot, schedule the pipeline to refresh, add a Genie space so managers can ask questions in plain English, and validate the forecast over more time periods.

Built With

  • apache-spark
  • databricks
  • databricks-ai-bi-dashboards
  • delta-lake
  • genie-code
  • github
  • jupyter-notebook
  • mlflow
  • pandas
  • python
  • spark-sql
  • time-series-forecasting
  • unity-catalog
Share this project:

Updates

Submission history