Giter VIP home page Giter VIP logo

ml-project-15-titanic-survival-prediction-webapp's Introduction

Titanic Survival Prediction

This project is a machine learning web application that predicts the survival of passengers on the Titanic based on various features such as age, gender, passenger class, etc.

Overview

This project leverages machine learning techniques to predict whether a passenger survived the Titanic disaster. The model is trained on the famous Titanic dataset from Kaggle. A web application is developed to allow users to input passenger details and get survival predictions.

Features

Data preprocessing and feature engineering

Machine learning model training and evaluation

Web application for user interaction and prediction

Visualizations for better understanding of data and model performance

Data

The dataset used in this project is the Titanic dataset from Kaggle. It contains information about the passengers on the Titanic, including:

PassengerId Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked

Technologies

Python: Programming language Streamlit: Framework for building the web app Scikit-learn: Machine learning library Pandas: Data manipulation library NumPy: Numerical computing library Matplotlib/Seaborn: Data visualization libraries

Usage

Open your web browser and navigate to https://ml-project-15-titanic-survival-prediction-webapp-2yjtmkqvtilk8.streamlit.app/

Input the details like Passenger class, Gender, Age of the person, No of Siblings, Parch, Fare and Embarked.

Click on the "Survived Result" button to get the predicted survived.

Exploratory Data Analysis (EDA)

EDA is performed to understand the underlying patterns and relationships in the dataset. Key steps include:

Visualizing the distribution of numerical and categorical features

Analyzing the correlation between features and the target variable (survival)

Identifying and handling missing values

Feature engineering to create new relevant features

Model

The machine learning model used in this project is a Logistic Regression. The model is trained and evaluated using the Titanic dataset. Key steps in model development include:

Data preprocessing (handling missing values, encoding categorical variables, feature scaling) Model training Model evaluation using metrics such as accuracy

Web App

The web application is built using Streamlit, which allows for easy deployment and user interaction. Users can input passenger details such as age, gender, passenger class, etc., and get predictions on their survival.

Results

The final model provides predictions for survived or not with a certain accuracy. The results are visualized using plots and graphs to show the actual vs. predicted prices.

Contributing

Contributions are welcome! If you have any improvements or suggestions, feel free to open a pull request or create an issue.

Deployment

The application is deployed using Streamlit. You can access it here = https://ml-project-15-titanic-survival-prediction-webapp-2yjtmkqvtilk8.streamlit.app/

ml-project-15-titanic-survival-prediction-webapp's People

Contributors

prachet283 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.