File size: 1,391 Bytes
a71bf9e
fca8237
 
 
 
a71bf9e
fca8237
a71bf9e
 
fca8237
a71bf9e
 
fca8237
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
title: DBFT Pavement Strain Predictor
emoji: 🛣️
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.24.0
app_file: app.py
pinned: false
license: mit
---

# DBFT — Pavement Strain Predictor

Predicts the two critical pavement strains **directly** from a Falling Weight
Deflectometer (FWD) test — no backcalculation step:

- **ε_t** — horizontal tensile strain at the bottom of the asphalt layer
  (fatigue-cracking criterion)
- **ε_c** — vertical compressive strain at the top of the subgrade
  (rutting criterion)

Model: **DBFT (Deflection-Basin Fusion Transformer)**, ~150k parameters,
trained with a combined surrogate + field loss (λ = 1.0) on an extended
layered-elastic surrogate (14,174 PyMastic/EVERSTRESS solutions) plus 7,651
Thai DOH field measurements. Held-out-route field performance:
**R² = 0.96 (AC) / 0.88 (subgrade)**.

Every prediction includes a **local SHAP attribution** (KernelExplainer over
the 12 field-measurable inputs: 9 deflections D0–D1800 + 3 layer thicknesses)
showing how each input pushed the prediction away from the model baseline.

## Inputs

| Input | Unit | Note |
|---|---|---|
| D0 … D1800 | μm | deflection basin, normalized to 707 kPa plate pressure |
| h_AC, h_Base, h_Subbase | mm | h_Subbase = 0 for structures without a subbase |

## Run locally

```bash
pip install -r requirements.txt gradio
python app.py
```