An open API service indexing awesome lists of open source software.

https://github.com/faisal-khann/titanic-survival-predictor


https://github.com/faisal-khann/titanic-survival-predictor

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Titanic Survival Prediction – ML Web App

A complete end-to-end machine learning project using the Titanic dataset from Kaggle. This project includes data cleaning, feature engineering, model comparison, hyperparameter tuning, and deployment using Streamlit.

---

## Features

- Full Exploratory Data Analysis (EDA)
- Feature Engineering (`FamilySize`, `IsAlone`)
- Data preprocessing: Handling missing values, encoding, scaling
- Model Comparison: Logistic Regression, SVM, Random Forest, KNN, Decision Tree
- Hyperparameter tuning using GridSearchCV
- Evaluation: Accuracy, Confusion Matrix, Classification Report
- Visualizations: Age distribution, survival by class/gender, etc.
- Deployment via **Streamlit**

---

## Live App

👉 [Click here to try the app](https://faisal-khann-titanic-survival-predictor-app-hywqlp.streamlit.app/)

---

## Project Structure
├── titanic_app.py # Streamlit app
├── titanic_model.pkl # Trained ML model
├── requirements.txt # Python dependencies
├── titanic_training.ipynb # EDA + training notebook
└── README.md # This file

---

## Tech Stack

- Python
- pandas, numpy
- seaborn, matplotlib
- scikit-learn
- Streamlit

---

## How It Works

1. User enters passenger details
2. Model predicts survival (1 = Survived, 0 = Did not survive)
3. Output is shown live via Streamlit UI

---

## Contact

Faisal Khan
[LinkedIn](http://www.linkedin.com/in/faisal-khan-332b882bb) | [GitHub](https://github.com/Faisal-khann)

---

## 📌 License

This project is for educational purposes.