This project analyzes obesity-related data to classify individuals based on lifestyle and physical characteristics using a Decision Tree Algorithm.
The dataset Obesity.csv contains details such as age, gender, eating habits, and activity levels.
- Decision Tree Classifier
- Load and explore the dataset.
- Encode categorical variables.
- Train a Decision Tree model.
- Evaluate model performance and visualize decision paths.
The model helps in predicting obesity levels based on behavior and health-related features.
- Python
- Pandas
- Scikit-learn
- Matplotlib