← All projects

PROJECT 033 / 102 · Food science

Higher-rated wine screening.

Can chemistry rank samples with an observed quality score of at least seven?

Focused analytical studyWine qualityExecuted notebook

THE RESULT

What the data shows

The largest computed metric is 0.6233 for Random forest; the smallest is 0.2019 for Prior baseline. Metric: average_precision (Average precision).

Seven is an analytical threshold, not a universal commercial standard. Quality itself is excluded from predictors.

Higher-rated wine screening — chart from the computed study output
Computed study output. Full values and units are available in the results download.
Computed results · 3 of 3 rows. Values rounded for display; source units and raw column names are retained in the download.
modelaccuracybalanced accuracymacro f1roc aucaverage precisionbrier
Prior baseline0.79810.50.44390.50.20190.1612
Logistic regression0.81680.61080.63090.78490.51580.1303
Random forest0.83930.66660.69550.85420.62330.1141
Download the complete result table ↓

THE METHOD

From source to answer

Binary target specified before analysis; grouped-input classification against prior prevalence.

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

EVALUATION

How the result was checked

Fixed 80/20 split of unique input groups (seed 42); exact input duplicates stay together.

5,209Training observations
1,288Test observations

Fixed models; default decision threshold; no holdout tuning.

Target and input features

Target: higher_rated

Inputs: fixed_acidity, volatile_acidity, citric_acid, residual_sugar, chlorides, free_sulfur_dioxide, total_sulfur_dioxide, density, ph, sulphates, alcohol, wine_type

Download evaluation record ↓

THE NEXT DECISION

What follows from the finding

Evaluate a prospective screening workflow with external batches before using the ranking.

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.