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.
- 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.
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.
- Women and children had higher survival rates.
- First-class passengers had significantly better survival chances.
- Age and fare also influenced survival probability.
- Logistic Regression
- Decision Trees / Random Forests
- Model evaluation using accuracy, precision, recall
git clone https://github.com/yourusername/Titanic-EDA-ML.git
cd Titanic-EDA-ML
pip install -r requirements.txt