This project aims to predict whether Titanic passengers survived or not using machine learning techniques.
- 🔍 Exploratory Data Analysis & Missing Value Handling
- ⚙️ Feature Engineering (gender, age, ticket class, etc.)
- 🤖 Model Training (Logistic Regression)
- 📊 Evaluation Metrics (Accuracy, Precision, Recall, F1, ROC AUC)
- 📉 ROC Curve & Confusion Matrix Visualization
- Python 3.x
- pandas, numpy
- matplotlib, seaborn
- scikit-learn
-
Clone the repository:
git clone https://github.com/codelones/titanic-survival-prediction.git cd titanic-survival-prediction
-
Install dependencies:
pip install -r requirements.txt
-
Run the project in PyCharm or any Python IDE.
I am still in the learning phase and working on projects to apply what I learn in practice.
I truly welcome any feedback, questions, or suggestions you may have — feel free to reach out!
This plot shows the performance of the logistic regression model in terms of True Positive Rate vs. False Positive Rate.
A visual representation of the model’s predictions compared to the actual outcomes.
If you found this helpful, a ⭐ would be appreciated!