Skip to content

Machine Learning Project on estimation of obesity levels based on eating habits and physical conditions

Notifications You must be signed in to change notification settings

manashb21/ObesityEstimation

Repository files navigation

Obesity Estimation Using Eating Habits and Physical Conditions

This project aims to estimate obesity levels based on eating habits and physical conditions of individuals from Mexico, Peru, and Colombia, aged between 14 and 61. The dataset used is sourced from the UCI Machine Learning Repository.

Project Overview

The main objective of the project is to explore how various features, such as eating habits and physical conditions, can be used to predict obesity levels in individuals. The project employs several classification algorithms to build the predictive model, including:

  • K-Nearest Neighbors (KNN)
  • Random Forest
  • LightGBM (LGBM)

Approach

  1. Data Analysis & Preprocessing:

    • The data consists of multiple features related to the lifestyle, eating habits, and physical conditions of individuals.
    • The dataset undergoes necessary cleaning, feature engineering, and preprocessing to ensure compatibility with the classification models.
  2. Model Building:

    • The project implements three different classification algorithms: KNN, Random Forest, and LightGBM.
    • Hyperparameters of the models are tuned to achieve optimal performance.
  3. Performance Evaluation:

    • Various performance metrics such as accuracy, precision, recall, and F1-score are used to evaluate the effectiveness of the models.
    • Visualizations are generated to compare the performance of the models and to identify the most significant features influencing obesity levels.
  4. Feature Importance:

    • The project also explores the feature importance in predicting obesity levels, helping to understand which factors play the most critical role in the classification.

Key Components

  • Algorithms Used:

    • KNN (K-Nearest Neighbors)
    • Random Forest
    • LightGBM (LGBM)
  • Performance Metrics:

    • Accuracy
    • Precision
    • Recall
    • F1-Score
  • Visualization:

    • Performance comparisons of the models.
    • Feature importance analysis.

About

Machine Learning Project on estimation of obesity levels based on eating habits and physical conditions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published