Logo Lanfrica

k-nizy/linear_regression_model

Domaine:

healthcare

Type de record:

model
Créateur:
k-n
Hôte:
In many African nations, premature adult mortality (ages 15 to 60) remains a major threat to economic growth and family stability. This project builds a linear regression machine learning pipeline to predict adult mortality rates using national health # Adult Mortality Rate Prediction in African Nations ## 1. Mission & Problem Statement Premature adult deaths (ages 15-60) severely undermine socio-economic development across African nations. This project implements a machine learning linear regression pipeline to predict Adult Mortality Rates using national health and economic indicators. By identifying high-impact variables like HIV prevalence and schooling, public health officials can allocate intervention resources effectively. ## 2. Dataset Description & Source - **Source:** WHO Life Expectancy & Health Indicators Dataset (Kaggle) - **Description:** Filtered specifically for African countries (2000-2015). Features include immunization coverage (Hepatitis B, Polio, Diphtheria), disease metrics (HIV/AIDS, Measles), economic metrics (GDP, Healthcare Expenditure), and social factors (Schooling, BMI). ## 3. Key Visualizations (in `summative/linear_regression/multivariate.ipynb`) - **Correlation Heatmap** — identifies HIV/AIDS, Schooling, Income Composition as top predictors of Adult Mortality - **Target Distribution** — Adult Mortality skewed right (1–723), informing model choice - **SGD Loss Curve (Train vs Test)** — 150 epochs, shows convergence without overfitting - **Best-Fit Scatter Plot** — Actual vs Predicted with y=x reference line (Random Forest, Test MSE=18,231) ## 3. Public API Endpoint (Swagger UI) - **Public Render API URL:** `adult-mortality-api.onrende…` - **Swagger Documentation:** adult-mortality-api.onrende… ## 4. Video Demo Link - **YouTube Demo:** youtu.be ## 5. How to Run the Mobile App (Flutter) 1. Ensure Flutter SDK is installed: `flutter doctor` 2. Navigate to the app directory: ```bash cd summative/FlutterApp ``` 3. Fetch dependencies: ```bash flutter pub get ``` 4. Run the application on an Android emulator or connected device: ```bash flutter run ``` 5. Tap the **⚡ (bolt) icon** in the top bar to cycle through 5 sample country profile …