https://github.com/faisal-khann/titanic-survival-predictor
https://github.com/faisal-khann/titanic-survival-predictor
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/faisal-khann/titanic-survival-predictor
- Owner: Faisal-khann
- License: mit
- Created: 2025-07-19T10:28:38.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-19T11:59:00.000Z (3 months ago)
- Last Synced: 2025-07-19T15:38:59.997Z (3 months ago)
- Language: Python
- Size: 3.7 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.