Giter Club home page Giter Club logo

canadian-disaster-datamart's Introduction

uw

UWaterloo - Canadian Disaster Machine Learning Analysis

Introduction

The project aims to predict a disaster type [natural, technology, conflict, unknown] from features such as [money spent on recovering, fatalities, people evacuated, etc]. The first step performed is following an ETL(extract, transfer, load). The data is extracted from across the Internet and sources will be cited in the following subsections. The data mart is loaded into MySQL database. Both supervised and unsupervised learnings are performed.

Data


The input data sets are composed of two files which are located in ../data folder:

To Run


  • Locate utils.py -> sql_connection(), configure the passwd parameter to your own MySQL database.
  • The driver script is main.py, to run the project, simply run python3 main.py.

While running main.py, a MySQL database named disaster_DB is created. This is the data mart we create.

Folders


Every input & output files are stored inside ../data folder.

  • data/physical_model contains the .sql script to create a MySQL database schema. The script is automatically run by main.py so you do not need to perform additional step to create a database.
  • data/datamart is a pysical representation of the data mart in .txt files, which contains a fact table and according dimension tables.
  • data/clustering contains screenshots of clusterings run by python.
  • data/dashboard contains Tableau screenshots to summarize the input data in a compact representation.
  • data/model_accuracy contains a screenshot which compares the accuracies of several classifiers.

Visulization


fnc

canadian-disaster-datamart's People

Contributors

jimjimliu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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