Skip to content

heis3nberg9/TS_Academy_Capstone_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

TS_Academy_Capstone_Project

  • Open Notebook in Colab Open In Colab

Project Overview

This project predicts Life Expectancy using a WHO dataset (2000-2015). We analyzed how health indicators like HIV/AIDS & IMMUNIZATION, and socioeconomic factors like GDP influence longevity.

Exploratory Data Analysis

  • Distributions: Used histograms and KDE plots to understand feature spreads.
  • Correlations: A heatmap revealed that HIV/AIDS has a strong negative correlation with life expectancy.
  • Missing Data: Handled via Simple Imputer.

Insight Generation

Identified Schooling and Income Composition as the strongest positive predictors, while HIV/AIDS prevalence was the most significant negative influencer, providing data-backed evidence for public health prioritization.

Modeling & Results

We compared a baseline linear model against an advanced ensemble method.

Model MAE R² Score
Linear Regression (Baseline) 4.26% 0.81
Random Forest (Advanced) 1.7% 0.96

Conclusion: The Random Forest significantly outperformed Linear Regression, capturing non-linear relationships that the baseline missed.

About

TS Academy Capstone Project: Regression analysis of Life Expectancy. Features a Linear Regression baseline and an advanced Random Forest model with full EDA and residual analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages