Giter VIP home page Giter VIP logo

richter-predictor's Introduction

Richter's Predictor: Modeling Earthquake Damage

The aim of this project is to predict the level of damage to buildings that happens in Nepal in 2015. It was caused by the Ghorka earthquake. The predictions are based on aspects building locations and construction. The data was collected through surveys by Kathmandu Living Labs and the Central Bureau of Statistics, which works under the National Planning Commission Secretariat of Nepal.

This survey represents an extensive collection of data after a disaster, making it one of the largest datasets ever gathered. It contains valuable information regarding the effects of earthquakes, the state of households, and socio-economic-demographic statistics. The dataset contains approximately 260,000 labeled samples and consists of 38 different features.

Scope

This project has been done as part of my Statistical Foundation of Machine Learning class (INFO-F422).

Performance

The project have been graded 10/10. It has reached a performance of 0.7426 of F1 micro with a rank of 802 out of more than 6000 participants. The first one on the leaderboard is leading with 0.7558 which is not that far.

Project

The project has been implement in R using R notebooks. It features some data exploration, data processing, feature selection techniques and model evaluation. Those can be found in the report.ipynb.

A feature relevance metric has also been computed once the best model has been chosen according to the entropy. The following equations details the computation:

$$\begin{equation*} R_i = H(y|X^{-i}) - H(y|X) \end{equation*}$$

where the $H(y|X)$ is the entropy of a multi class random variable given by :

$$\begin{equation*} H(y|X) = \dfrac{1}{N}\sum_{i=1}^{N} \sum_{j=1}^{M}p(y_{ij}|x_{i}) \times log_2(p(y_{ij}|x_{i})) \end{equation*}$$

richter-predictor's People

Contributors

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