Dataset Viewer
Auto-converted to Parquet Duplicate
cap-shape
stringclasses
6 values
cap-surface
stringclasses
4 values
cap-color
stringclasses
10 values
bruises
stringclasses
2 values
odor
stringclasses
9 values
gill-attachment
stringclasses
2 values
gill-spacing
stringclasses
2 values
gill-size
stringclasses
2 values
gill-color
stringclasses
12 values
stalk-shape
stringclasses
2 values
stalk-root
stringclasses
5 values
stalk-surface-above-ring
stringclasses
4 values
stalk-surface-below-ring
stringclasses
4 values
stalk-color-above-ring
stringclasses
9 values
stalk-color-below-ring
stringclasses
9 values
veil-type
stringclasses
1 value
veil-color
stringclasses
4 values
ring-number
stringclasses
3 values
ring-type
stringclasses
5 values
spore-print-color
stringclasses
9 values
population
stringclasses
6 values
habitat
stringclasses
7 values
label
stringclasses
2 values
f
y
y
f
f
f
c
b
g
e
b
k
k
p
b
p
w
o
l
h
y
g
p
x
s
p
t
n
f
c
b
e
e
?
s
s
e
w
p
w
t
e
w
c
w
e
b
s
g
f
n
f
w
b
w
e
?
k
s
w
w
p
w
t
p
w
s
g
e
f
s
n
f
s
f
c
n
b
t
?
k
k
p
w
p
w
o
e
w
v
d
p
k
y
n
f
f
f
c
n
b
t
?
s
k
p
p
p
w
o
e
w
v
p
p
f
y
e
t
n
f
c
b
w
t
b
s
s
w
p
p
w
o
p
n
v
d
e
x
y
n
t
l
f
c
b
w
e
r
s
y
w
w
p
w
o
p
n
y
p
e
x
s
w
t
f
f
c
b
p
t
b
s
s
w
w
p
w
o
p
h
s
u
p
f
f
g
t
n
f
c
b
w
t
b
s
s
p
w
p
w
o
p
n
v
d
e
x
f
e
t
n
f
c
b
w
t
b
s
s
w
w
p
w
o
p
k
v
d
e
x
y
c
f
n
f
w
n
w
e
b
s
s
w
n
p
w
o
e
w
v
l
e
f
s
n
f
y
f
c
n
b
t
?
s
k
w
p
p
w
o
e
w
v
d
p
b
f
w
f
n
f
w
b
p
e
?
k
k
w
w
p
w
t
p
w
n
g
e
f
s
b
t
f
f
c
b
h
t
b
f
f
w
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t
e
f
s
w
w
p
w
o
e
n
a
g
e
f
y
n
f
f
f
c
n
b
t
?
k
s
p
w
p
w
o
e
w
v
l
p
b
f
w
f
n
f
w
b
g
e
?
k
s
w
w
p
w
t
p
w
s
g
e
f
y
w
t
p
f
c
n
n
e
e
s
s
w
w
p
w
o
p
k
s
g
p
x
f
y
t
a
f
w
n
p
t
b
s
s
w
w
p
w
o
p
u
v
d
e
f
y
e
f
f
f
c
n
b
t
?
s
s
w
w
p
w
o
e
w
v
l
p
f
s
g
f
n
f
w
b
h
t
e
s
f
w
w
p
w
o
e
k
a
g
e
f
y
g
t
n
f
c
b
p
t
b
s
s
g
p
p
w
o
p
n
v
d
e
x
y
n
t
l
f
c
b
p
e
r
s
y
w
w
p
w
o
p
n
s
p
e
f
y
n
t
n
f
c
b
w
t
b
s
s
p
p
p
w
o
p
k
v
d
e
f
f
g
f
f
f
c
b
h
e
b
k
k
p
n
p
w
o
l
h
y
p
p
x
s
n
f
n
f
w
b
h
t
e
s
s
w
w
p
w
o
e
k
s
g
e
x
y
n
t
p
f
c
n
k
e
e
s
s
w
w
p
w
o
p
n
s
g
p
x
y
n
f
s
f
c
n
b
t
?
k
k
w
w
p
w
o
e
w
v
l
p
f
f
g
f
f
f
c
b
g
e
b
k
k
p
p
p
w
o
l
h
v
g
p
k
s
n
f
n
a
c
b
n
e
?
s
s
o
o
p
n
o
p
o
v
l
e
f
y
g
f
f
f
c
b
g
e
b
k
k
b
n
p
w
o
l
h
y
d
p
f
y
n
t
p
f
c
n
p
e
e
s
s
w
w
p
w
o
p
n
v
u
p
k
s
e
f
y
f
c
n
b
t
?
k
s
p
p
p
w
o
e
w
v
l
p
f
y
y
t
l
f
c
b
w
e
r
s
y
w
w
p
w
o
p
n
y
p
e
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

with open("README.md", "w") as f: f.write("""--- license: mit task_categories: - tabular-classification language: - en

πŸ„ Mushroom Classification Dataset (Cleaned & ML Ready)

πŸ“Œ Overview

This dataset is a cleaned and machine-learning-ready version of the popular mushroom classification dataset.
It is designed for classification tasks such as predicting whether a mushroom is edible or poisonous.


πŸ“Š Dataset Features

  • βœ” Fully cleaned dataset
  • βœ” No missing values handled
  • βœ” Label encoded categorical features
  • βœ” Structured for ML models
  • βœ” Ready for training and testing

πŸ“ Dataset Structure

  • train.csv β†’ Training data
  • test.csv β†’ Testing data

Each row represents characteristics of a mushroom sample.


🎯 Target Variable

  • label
    • 0 β†’ Edible
    • 1 β†’ Poisonous

🧠 Use Cases

  • Machine Learning Classification
  • Data Preprocessing Practice
  • Feature Engineering
  • Model Evaluation

βš™οΈ How to Use

import pandas as pd

train = pd.read_csv("train.csv")
test = pd.read_csv("test.csv")
Downloads last month
17