moviebrain01/mushroom-classification-clean
收藏资源简介:
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 ```python import pandas as pd train = pd.read_csv("train.csv") test = pd.read_csv("test.csv")



