Skip to content

This project explores classifying mushrooms as edible or poisonous using various ML algorithms. It includes data preprocessing, feature encoding, model training with KNN, Decision Trees, Random Forest, SVM, and Logistic Regression, and compares their accuracy and performance.

License

Notifications You must be signed in to change notification settings

hamidrezaesh/Mushrooms-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ„ Mushroom Classification

This project applies multiple machine learning algorithms to classify mushrooms as edible or poisonous based on their features. The dataset contains categorical variables, which are preprocessed using LabelEncoder encoding.

πŸ“ Dataset

πŸ“Œ Features

  • 22 categorical features (e.g., cap shape, odor, habitat)
  • Target: class β€” edible (e) or poisonous (p)

βš™οΈ Algorithms

  • KNN
  • Decision Tree
  • Random Forest
  • SVM
  • Logistic Regression

πŸ“Š Evaluation Metric

  • F1-Score

πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.

About

This project explores classifying mushrooms as edible or poisonous using various ML algorithms. It includes data preprocessing, feature encoding, model training with KNN, Decision Trees, Random Forest, SVM, and Logistic Regression, and compares their accuracy and performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published