YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Titanic Survival Predictor π’
This project is a simple AI application that predicts a passenger's survival chances on the Titanic based on their characteristics.
The model was trained using scikit-learn and deployed on Hugging Face Spaces with Gradio.
π§ About the Model
The model was trained on the classic Titanic dataset (Kaggle).
It predicts survival probability based on:
- Sex
- Age
- Passenger class
- Number of siblings/spouses aboard
- Fare, etc.
Model file: titanic-model.pkl
π» Demo
A simple Gradio interface lets you input passenger data and get an instant prediction.
To run locally:
pip install -r requirements.txt
python app.py
Then open the generated link (e.g. http://127.0.0.1:7860
) in your browser.
π Project Structure
titanic-app/
β
βββ app.py # Gradio interface
βββ titanic-model.pkl # Trained model
βββ titanic.ipynb # Training notebook
βββ requirements.txt # Project dependencies
βββ README.md # Project overview
π License
This project is released under the MIT License β free to use, modify, and distribute.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support