← All projects

PROJECT 027 / 102 · Food science

Wine quality label balance.

How strongly are sensory labels concentrated in the middle of the rating scale?

Focused analytical studyWine qualityExecuted notebook

THE RESULT

What the data shows

The largest computed metric is 0.4488 for white / 6; the smallest is 0.001021 for white / 9. Metric: within_type_share (Within-type sample share).

The table reports observed score support; absent ratings do not imply impossible products.

Wine quality label balance — chart from the computed study output
Computed study output. Full values and units are available in the results download.
Computed results · 12 of 13 rows. Values rounded for display; source units and raw column names are retained in the download.
wine typequalitysampleswithin type sharelabel
red3100.006254red / 3
red4530.03315red / 4
red56810.4259red / 5
red66380.399red / 6
red71990.1245red / 7
red8180.01126red / 8
white3200.004083white / 3
white41630.03328white / 4
white51,4570.2975white / 5
white62,1980.4488white / 6
white78800.1797white / 7
white81750.03573white / 8
Download the complete result table ↓

THE METHOD

From source to answer

Counts and proportions by wine type and observed quality score.

The Python source exposes this study’s transformations. The complete project download includes shared preparation and evaluation routines.

THE NEXT DECISION

What follows from the finding

Use label prevalence to choose evaluation metrics before training a quality model.

Where the conclusion stops

Sensory scores are ordinal and concentrated in the middle. Producer and batch IDs are unavailable. Associations are not recipes for changing quality or evidence of market price.

Related studies may reuse observations or holdouts. These are historical analyses; associations and backtests do not demonstrate commercial impact. Further model tuning needs new, untouched evaluation data.