The Mushroom data set includes descriptions of hypothetical samples
corresponding to 23 species of gilled mushrooms in the Agaricus and Lepiota
family. It contains information about 8123 mushrooms. 4208 (51.8\
edible and 3916 (48.2\
features plus the class attribute (edible or not).
Format
A data frame with 8123 observations on the following 23 variables.
Classa factor with levels
ediblepoisonousCapShapea factor with levels
bellconicalflatknobbedsunkenconvexCapSurfa factor with levels
fibrousgroovessmoothscalyCapColora factor with levels
buffcinnamonredgraybrownpinkgreenpurplewhiteyellowBruisesa factor with levels
nobruisesOdora factor with levels
almondcreosotefoulanisemustynonepungentspicyfishyGillAttacheda factor with levels
attachedfreeGillSpacea factor with levels
closecrowdedGillSizea factor with levels
broadnarrowGillColora factor with levels
buffredgraychocolateblackbrownorangepinkgreenpurplewhiteyellowStalkShapea factor with levels
enlargingtaperingStalkRoota factor with levels
bulbousclubequalrootedSurfaceAboveRinga factor with levels
fibroussilkysmoothscalySurfaceBelowRinga factor with levels
fibroussilkysmoothscalyColorAboveRinga factor with levels
buffcinnamonredgraybrownorangepinkwhiteyellowColorBelowRinga factor with levels
buffcinnamonredgraybrownorangepinkwhiteyellowVeilTypea factor with levels
partialVeilColora factor with levels
brownorangewhiteyellowRingNumbera factor with levels
noneonetwoRingTypea factor with levels
evanescentflaringlargenonependantSporea factor with levels
buffchocolateblackbrownorangegreenpurplewhiteyellowPopulationa factor with levels
brownyellowHabitata factor with levels
woodsgrassesleavesmeadowspathsurbanwaste
Source
The data set was obtained from the UCI Machine Learning Repository at http://archive.ics.uci.edu/ml/datasets/Mushroom.
References
Alfred A. Knopf (1981). Mushroom records drawn from The Audubon Society Field Guide to North American Mushrooms. G. H. Lincoff (Pres.), New York.
Examples
data(Mushroom)
summary(Mushroom)
#> Class CapShape CapSurf CapColor Bruises
#> edible :4208 bell : 452 fibrous:2320 brown :2283 no :4748
#> poisonous:3915 conical: 4 grooves: 4 gray :1840 bruises:3375
#> flat :3152 smooth :2555 red :1500
#> knobbed: 828 scaly :3244 yellow :1072
#> sunken : 32 white :1040
#> convex :3655 buff : 168
#> (Other): 220
#> Odor GillAttached GillSpace GillSize GillColor
#> none :3528 attached: 210 close :6811 broad :5612 buff :1728
#> foul :2160 free :7913 crowded:1312 narrow:2511 pink :1492
#> spicy : 576 white :1202
#> fishy : 576 brown :1048
#> almond : 400 gray : 752
#> anise : 400 chocolate: 732
#> (Other): 483 (Other) :1169
#> StalkShape StalkRoot SurfaceAboveRing SurfaceBelowRing
#> enlarging:3515 bulbous:3776 fibrous: 552 fibrous: 600
#> tapering :4608 club : 556 silky :2372 silky :2304
#> equal :1119 smooth :5175 smooth :4935
#> rooted : 192 scaly : 24 scaly : 284
#> NAs :2480
#>
#>
#> ColorAboveRing ColorBelowRing VeilType VeilColor RingNumber
#> white :4463 white :4383 partial:8123 brown : 96 none: 36
#> pink :1872 pink :1872 orange: 96 one :7487
#> gray : 576 gray : 576 white :7923 two : 600
#> brown : 448 brown : 512 yellow: 8
#> buff : 432 buff : 432
#> orange : 192 orange : 192
#> (Other): 140 (Other): 156
#> RingType Spore Population Habitat
#> evanescent:2776 white :2388 brown : 400 woods :3148
#> flaring : 48 brown :1968 yellow:1712 grasses:2148
#> large :1296 black :1871 NAs :6011 leaves : 832
#> none : 36 chocolate:1632 meadows: 292
#> pendant :3967 green : 72 paths :1144
#> buff : 48 urban : 367
#> (Other) : 144 waste : 192