Skip to content

Example report 06 · Food & beverage production · Regression

Estimate wine quality from laboratory tests

How might a batch score in a sensory review, given its laboratory measurements?

All examples

Recommended by Impulse AI

Impulse AI result

Selected model: XGBoost

Standard algorithms and custom models are candidates within the Impulse AI workflow—not competing services.

Illustrative test result · MAE
0.5238 quality points (0–10)

Identify batches that deserve an additional tasting-panel review.

Records
15,000 fictional wine batches
Training / test
12,000 / 3,000
Metric
MAE · lower is better
Models evaluated
8

01The business question

How might a batch score in a sensory review, given its laboratory measurements?

Each record represents one wine batche. The target to predict is sensory_quality_score.

What you would do with it

Identify batches that deserve an additional tasting-panel review.

02The input data

  • fixed_acidityinput
  • volatile_acidityinput
  • residual_sugarinput
  • chloridesinput
  • sulphatesinput
  • alcohol_percentinput
  • sensory_quality_scoretarget

Group-held-out 80/20 split; repeated entities stay in the same partition.

03Models evaluated

This illustrative recommendation represents model selection on training/validation data. The separate test scores below show how the candidates compare; a real workflow must not use its final test set to choose a model. Lower is better for MAE.

Candidates within the Impulse AI workflow; fictional test scores, not a ranking of competing services
Candidate modelTest MAE (illustrative)
XGBoostSelected by Impulse AI0.5238 quality points (0–10)
Impulse AI custom model0.54 quality points (0–10)
CatBoost0.6885 quality points (0–10)
LightGBM0.7452 quality points (0–10)
Extra Trees0.8019 quality points (0–10)
Random Forest0.8586 quality points (0–10)
Ridge Regression0.9153 quality points (0–10)
Training-target meanbaseline0.972 quality points (0–10)

04Practical takeaway

In this fictional report, Impulse AI selects XGBoost, with an illustrative test result of 0.5238 quality points (0–10), compared with 0.972 quality points (0–10) for the Training-target mean baseline. Impulse AI’s role is to evaluate candidates and deliver the selected model, whether it uses a standard algorithm or a custom model. The prediction supports one decision: identify batches that deserve an additional tasting-panel review.

05Limitations

  • Quality ratings are subjective and ordinal. A chemical profile does not certify food safety or replace expert tasting.
  • All rows and scores are invented for illustration; a real table would need its own evaluation.
  • A single test split gives one estimate; scores on new data will vary.

06Source of inspiration

OpenML · Public dataset catalog; physicochemical tests and sensory ratings

Wine Quality · dataset 44136(opens in new tab)

The linked sources inspired this fictional problem; the report may simplify or adapt the original task. No source datasets were downloaded or evaluated, and no competition results were copied.

07Exploratory data profile

A compact illustrative profile of the 6 inputs, not the full checks a real engine run performs. 360 missing values appear across the table. All ranges are fictional.

Illustrative column profile, fictional values
ColumnTypeValidMissingMissing %UniqueMeanStd devMin25%Median75%MaxZeros %
fixed_acidityNumeric15,00000.0%557.42.93335.27.49.6160.0%
volatile_acidityNumeric15,00000.0%1760.30.1670.050.1750.30.4251.20.0%
residual_sugarNumeric14,7302701.8%29742.6670246304.0%
chloridesNumeric15,00000.0%4180.050.030.0050.0280.050.0730.50.0%
sulphatesNumeric14,910900.6%5390.60.2670.20.40.60.820.0%
alcohol_percentNumeric15,00000.0%10112.22.533810.312.214.1160.0%

08Use your model

Download model

Take a reusable model package to run predictions in your own environment.

Host for inference

Have Impulse AI host your model so you can send new data for predictions.