This project predicts whether a passenger survived the Titanic disaster using machine learning.
- Python
- Pandas, NumPy
- Seaborn, Matplotlib
- Scikit-Learn (RandomForest)
- Data cleaning and feature engineering
- Model training (RandomForest)
- Model evaluation (accuracy: ~82%)
- Confusion matrix and classification report
-
Clone the repo:
git clone https://github.com/your-username/Titanic-Survival-Prediction.git cd Titanic-Survival-Prediction -
Install dependencies:
pip install -r requirements.txt -
Run the notebook:
jupyter notebook notebooks/titanic_eda_model.ipynb
- Accuracy: ~82%
- Classifier: RandomForest
- Features: Pclass, Sex, Age, Fare, FamilySize, etc.