GithubHelp home page GithubHelp logo

syedaws123uk / disaster-response-pipelines Goto Github PK

View Code? Open in Web Editor NEW

This project forked from londheshubham153/disaster-response-pipelines

0.0 0.0 0.0 2.45 MB

A machine learning pipeline to categorize emergency messages based on the needs communicated by the sender.

Python 5.65% HTML 1.32% Jupyter Notebook 93.02%

disaster-response-pipelines's Introduction

Disaster-Response-Pipelines

Required libraries

  • nltk 3.3.0
  • numpy 1.15.2
  • pandas 0.23.4
  • scikit-learn 0.20.0
  • sqlalchemy 1.2.12

Motivation

In this project, It will provide disaster responses to analyze data from Figure Eight to build a model for an API that classifies disaster messages.

This project will include a web app where an emergency worker can input a new message and get classification results in several categories. The web app will also display visualizations of the data.

Below are a few screenshots of the web app.

disaster response project web app

disaster response project web app

Files

  • ETL Pipeline Preparation.ipynb: Description for workspace/data/process_data.py
  • ML Pipeline Preparation.ipynb: Description for workspace/model/train_classifier.py
  • workspace/data/process_data.py: A data cleaning pipeline that:
    • Loads the messages and categories datasets
    • Merges the two datasets
    • Cleans the data
    • Stores it in a SQLite database
  • workspace/model/train_classifier.py: A machine learning pipeline that:
    • Loads data from the SQLite database
    • Splits the dataset into training and test sets
    • Builds a text processing and machine learning pipeline
    • Trains and tunes a model using GridSearchCV
    • Outputs results on the test set
    • Exports the final model as a pickle file

Acknowledgements

I wish to thank Figure Eight for dataset, and thank Udacity for advice and review.

disaster-response-pipelines's People

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.