This project is a machine learning application that predicts the survival probability of Titanic passengers.
- User-friendly interface built with Streamlit
- Prediction using Logistic Regression model
- Real-time prediction results
- Install required packages:
pip install -r requirements.txt
- Train the model:
python model.py
- Run the application:
streamlit run app.py
When the application starts, you can enter the following information:
- Passenger Class (1, 2, or 3)
- Sex
- Age
- Number of Siblings/Spouses Aboard
- Number of Parents/Children Aboard
- Fare Paid
- Port of Embarkation
Click the "Predict" button to see the survival probability prediction.
The project uses the Titanic dataset from Kaggle. The dataset includes the following features:
- Pclass (Passenger Class)
- Sex
- Age
- SibSp (Number of Siblings/Spouses Aboard)
- Parch (Number of Parents/Children Aboard)
- Fare
- Embarked (Port of Embarkation)