MaterialSense · Formal presentation
CHAPTER 01 · Research overview
When can we trust a prediction?
MaterialSense studies how to evaluate concrete compressive-strength models on recipes absent from training. We report error, uncertainty and reliability together, using public data.
CHAPTER 01 · Research overview
One dataset, two units of analysis
The 1,030 observations represent 428 exact seven-ingredient recipes. Repeated ages of a mix must not silently become independent recipes. Age is an input, not the grouping key.
CHAPTER 02 · Data & methodology
Separate the recipes, not the rows
At seed 42, 256 recipe groups enter training, 86 calibration and 86 testing. The three sets share zero exact recipes. The allocation is performed at recipe level, so the number of rows is not exactly 60/20/20.
CHAPTER 02 · Data & methodology
Fit, calibrate, then evaluate
Five-fold GroupKFold inside training selects among four established estimators and feature specifications. Separate calibration recipes correct interval bounds. Held-out recipes are used for final metrics, not model selection.
CHAPTER 02 · Data & methodology
One interface, three separate signals
The local Streamlit interface shows a fitted strength estimate, residual or CQR interval, and a KNN distance warning. Changing a recipe calls saved artifacts; it does not retrain the model.
CHAPTER 03 · Model performance
Evaluate the intended generalization
Ten grouped resplits yield mean row RMSE 5.641 ± 0.788 MPa; the random-row diagnostic averages 5.371 MPa. Different test records mean this is not a causal estimate of leakage.
CHAPTER 03 · Model performance
Check another error metric
Grouped MAE is 4.157 MPa, with grouped R² 0.878. The public result table keeps the per-seed values so the summary can be checked.
CHAPTER 03 · Model performance
A useful descriptor is not a universal law
With a fixed random forest and identical grouped splits, adding water-to-binder ratio reduces group-balanced RMSE from 6.180 to 5.639 MPa. It improves all ten paired runs; the following two descriptors do not further improve average error.
CHAPTER 04 · Uncertainty quantification
Coverage has a cost
At a nominal 90% group target, residual intervals achieve 91.0% average whole-recipe coverage with mean width 24.225 MPa; CQR reaches 93.1% with width 28.677 MPa.
CHAPTER 04 · Uncertainty quantification
Inspect an actual interval failure
For Wu 2019 recipe F3R2 at 14 days, the reported strength mean is 61.5 MPa while the frozen prediction is 40.515 MPa. Neither recorded interval covers this reported mean. This example is cross-source exploration, not harmonized external validation.
CHAPTER 05 · Novelty & reliability
Novelty is not reliability
At the default 0.95 training-distance quantile, mean recall of absolute-error events above 10 MPa is only 29.1%, and precision is 18.1%. No warning is weak reassurance.
CHAPTER 05 · Novelty & reliability
The external-source gap cannot be hidden
Across seven recipes at five ages, all 35/35 Wu 2019 reported means are underpredicted by the frozen seed-42 model. MAE is 15.327 MPa and RMSE 15.685 MPa. Target aggregation, specimen geometry and provenance are not fully harmonized with UCI.
CHAPTER 05 · Novelty & reliability
A benchmark is a boundary, not a certificate
Residual intervals cover 2 of 35 Wu observations; CQR covers 11 of 35. Neither method covers all recorded ages of any of the seven recipes. External validation still needs compatible measurement definitions and independent source review.
CHAPTER 06 · Reproducibility
From configuration to auditable evidence
The public source preserves the protocol, selected tables, split audits, failure records, test tooling and data attribution. The website visualizations derive from these saved results. The original private archive and trained models are not deployed on the portfolio.
CHAPTER 06 · Reproducibility
Reliable evaluation is the real result
My contribution is a reproducible research-engineering workflow that connects a prediction problem with a defensible evaluation protocol, explicit uncertainty and observable failure. The public data benchmark is not an original laboratory study or an engineering qualification.
When can we trust a prediction?

Interactive scene loading · full text and verified evidence remain readable.
When can we trust a prediction?
UCI concrete data · schematic group layout
Drag to rotate · pinch to zoom