Skip to content

"Exploratory Data Analysis and Machine Learning on the Titanic dataset to uncover survival patterns and build predictive models."

License

Notifications You must be signed in to change notification settings

Affan005-ai/Titanic-EDA-ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Titanic EDA & Machine Learning 🚒

This project analyzes the Titanic dataset to explore survival patterns and build predictive models.
It involves Exploratory Data Analysis (EDA), data cleaning, visualization, and applying machine learning algorithms.


πŸ“Œ Project Objectives

  • Perform EDA to understand passenger demographics and survival rates.
  • Clean and preprocess data (handle missing values, encode categorical variables).
  • Visualize key insights (age distribution, gender survival, class-based survival).
  • Train machine learning models to predict passenger survival.

πŸ“‚ Project Structure

  • Titanic.ipynb β†’ Main Jupyter Notebook with full analysis and models.
  • requirements.txt β†’ Python dependencies.
  • data/ β†’ Dataset (or download link provided below).
  • images/ β†’ Saved plots for documentation.

πŸ“Š Key Insights

  • Women and children had higher survival rates.
  • First-class passengers had significantly better survival chances.
  • Age and fare also influenced survival probability.

πŸ€– Machine Learning

  • Logistic Regression
  • Decision Trees / Random Forests
  • Model evaluation using accuracy, precision, recall

πŸ“¦ Installation & Usage

git clone https://github.com/yourusername/Titanic-EDA-ML.git
cd Titanic-EDA-ML
pip install -r requirements.txt

About

"Exploratory Data Analysis and Machine Learning on the Titanic dataset to uncover survival patterns and build predictive models."

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published