Wolfram Data Repository
Immediate Computable Access to Curated Contributed Data
Determine whether a mushroom is edible based on physical characteristics
This dataset consists of 8124 records of the physical characteristics of gilled mushrooms in the Agaricus and Lepiota families, along with their edibility. The classification task is to determine the edibility given the physical characteristics of the mushrooms. The test and training sets were constructed by stratified random sampling using 30% of the data for the test set and the rest for the training set.
Retrieve the resource:
In[1]:= | ![]() |
Out[1]= | ![]() |
Retrieve a sample of the data:
In[2]:= | ![]() |
Out[2]= | ![]() |
Train a classifier:
In[3]:= | ![]() |
Out[3]= | ![]() |
Obtain general information about the classifier:
In[4]:= | ![]() |
Out[4]= | ![]() |
Visualize the accuracy of the classifier:
In[5]:= | ![]() |
Out[5]= | ![]() |
Wolfram Research, "Sample Data: Mushroom Classification" from the Wolfram Data Repository (2019)