Model
U.S. Gasoline Inventory Signal
Predicts whether gas prices will be higher next week by tracking U.S. weekly gasoline inventory levels from the EIA.
Decision surface
The model's buy probability across its two most influential features. Every point was computed by calling model.predict_proba on the actual .joblib. Drag to rotate.
What the model pays attention to
Approach
I pulled 4 years of weekly U.S. gasoline stock data (EIA series WGTSTUS1) and engineered three features: the current inventory level in million barrels, the 4-week directional change in stocks, and the percent deviation from the 5-year seasonal average. The key insight is that when inventories fall below their seasonal norm and are actively drawing down, refineries are producing less than the market is consuming — a classic supply squeeze that pushes retail prices up within 1-2 weeks. I trained a GradientBoostingClassifier with standard scaling and validated on a 25% holdout set. The model is most confident when inventory signals are extreme (well above or below seasonal averages) and appropriately uncertain when stocks are near average, which matches real-world behavior.
Features
Built by
Graduate student in Business Analytics at ASU W. P. Carey interested in energy economics and commodity markets. Focused on building interpretable ML models that translate macroeconomic supply signals into actionable consumer decisions.
Trained on
2022-01-01 to 2025-12-31