Sample Data: Wine Quality

Quality of white wines given the physical properties of the wines

Predict the subjectively reported quality of a white wine (on a scale of 1-10) given 11 physical features of the wine. These features include properties like the pH of the wine and its alcohol content. There are 4898 examples.

Examples

Basic Examples

Retrieve the resource:

In[1]:=
ResourceObject["Sample Data: Wine Quality"]
Out[1]=

Retrieve the default content:

In[2]:=
RandomSample[ResourceData["Sample Data: Wine Quality"], 5]
Out[2]=

Analysis

Train a classifier:

In[3]:=
c = Classify[
  ResourceData["Sample Data: Wine Quality", "TrainingData"]]
Out[3]=

Obtain general information about the classifier:

In[4]:=
Information[c]
Out[4]=

Visualize the accuracy of the classifier:

In[5]:=
ClassifierMeasurements[c, ResourceData["Sample Data: Wine Quality", "TestData"]]["ConfusionMatrixPlot"]
Out[5]=

Wolfram Research, "Sample Data: Wine Quality" from the Wolfram Data Repository (2019)  

Data Resource History

Source Metadata

Data Downloads

Publisher Information