Coder Social home page Coder Social logo

anityagan9urde / would-you-survive-titanic Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 64 KB

Logistic Regression model trained to determine if someone will survive the Titanic disaster, dressed in a Flask API and deployed on Heroku.

Home Page: https://would-you-survive-the-titanic.herokuapp.com/

Python 27.60% CSS 51.50% HTML 20.90%
flask machine-learning python logistic-regression heroku-app titanic-kaggle scikit-learn data-science

would-you-survive-titanic's Introduction

Would You Survive Titanic Disaster --version 1.0

- Run it directly by clicking here: Deploy

Logistic Regression model to see if you had been on the Titanic would you had survived provided you age, sex and embarkment info.

Annotation 2021-05-24 175631

Running the project locally:

Open CMD. Ensure that you are in the project home directory. Create the machine learning model by running below command -

python mlmodel.py

This would create a serialized version of our model into a file model.pkl

Run app.py using below command to start Flask API

python app.py

By default, flask will run on port 5000.

Navigate to URL http://localhost:5000 on a browser.

You should be able to view the homepage.

Enter valid values in all 3 input boxes and hit Predict.

If everything goes well, you should be able to see the prediction on the web page and you will know your answer.

would-you-survive-titanic's People

Contributors

anityagan9urde 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.