top of page

AI for Disaster Response

Updated: Aug 30, 2021

Mission

In times of natural calamities and disasters, people can lose their homes, be stranded somewhere alone, lose a family member, not have any food, etc. Some disasters aren’t as severe as others; hence, people won’t be in need of immediate aid. Depending on the severity of disasters, people will call for help immediately if they’re in a condition that is too difficult to handle. The goal of this AI service is to determine if an individual needs assistance based on the disaster response message

Data

I used a Disaster Response Messages dataset from Kaggle. The dataset consists of 2500 messages along with several feature labels such as “medical help”, “search and rescue”, “deaths”, “in need of shelter/food/water”, if the disaster was “caused by a flood/storm/earthquake”.

Training

The AI service that I developed is focused on predicting the necessity of aid based on the disaster response messages using Random Forest Classification. Testing the AI service with the dataset produces prediction accuracies on a scale from 1% to 100% which determines the necessity of aid. After the first round of testing, I got a prediction accuracy of 80%. The accuracy of 80% means that the AI service is 80% accurate in categorizing the disaster response messages into “zero value” (no aid needed) and “one value” (aid needed) based on the feature labels. I was pleasantly surprised how well my AI service performed in the first try. This accuracy was better than random guessing, but not satisfactory enough. Then, I decided to tune the hyperparameters of the Random Forest Classifier Algorithm to get a better prediction accuracy. After experimenting with the num_trees (the number of trees in the forest) and max_depth (the maximum allowed depth of the tree) hyperparameters, I was able to successfully bring the prediction accuracy up to 92.2%.



Analyze the AI

I wanted to further improve my AI to predict additional feature labels including if an individual is in “need of water, food or shelter”, and if the “disaster was caused by a flood, storm, or earthquake”. Using the Random Forest Classifier, I was able to tune the hyperparameters. My AI service resulted in fairly high accuracy values for each of these feature labels (water: 97.6%, food: 94.8%, shelter: 94.2%, flood: 95.6%, storm: 95.4%, earthquake: 98.4%).


Learning

During the process of creating the AI services, I learned about a classification algorithm, Random Forest Classifier. Decision Trees are the fundamental building blocks of Random Forest. Random Forest consists of several individual decision trees that operate like an ensemble. Each individual tree in the random forest provides a class prediction and the class with the most “votes”, is used to create the final prediction model.

The key concept behind using a Random Forest model is to make sure it consists of uncorrelated models (trees) because it is important to create ensemble predictions. These ensemble predictions are found to be more accurate than individual predictions. A larger number of uncorrelated models outperforms any individual models. The greater the number of trees results in a smaller number of errors, therefore, the predictions made by the individual trees must have a low correlation with each other. Ultimately, the random forest will make accurate class predictions to create our final model.

Further Development

In the future, I would like to create an app that will benefit both the emergency response team and the community in need of immediate assistance. The app will include in depth information about disaster responses and emergency communications plans. I hope my app will lessen the impact of potential disasters and will help the community be prepared for disaster circumstances.



53 Comments


https://luck80.net/ dạo này thấy bạn bè nói qua nên mình cũng bấm vào xem thử cho biết. Mình không ngồi đọc kỹ nội dung đâu, chỉ lướt nhanh xem trang nhìn có dễ dùng không. Cảm giác đầu tiên là giao diện khá sáng sủa, khoảng cách giữa các phần vừa đủ nên nhìn không bị ngộp. Mình thích kiểu họ chia nội dung thành từng khối riêng, kéo xuống tới đâu là biết mình đang xem phần nào, không bị dính hết vào nhau. Với lại cái menu để khá nổi, nên chuyển qua lại cũng nhanh, không phải mò. Nói chung lướt vài phút thôi mà thấy bố cục rõ ràng, các block nội dung tách bạch và…

Like

https://luck88.to/ mình ghé thử vì thấy bạn bè nhắc mấy lần, kiểu vào xem giao diện là chính. Ấn tượng đầu tiên là trang nhìn hiện đại, bố cục chia khối rõ ràng nên lướt xuống không bị rối mắt. Mình dùng điện thoại mà vẫn dễ đọc, chữ với khoảng cách ổn, bấm qua lại cũng mượt. Có đoạn họ nhắc chuyện kiểm tra link chính thức để tránh web giả mạo, đọc lướt qua thấy cũng hợp lý vì dạo này mấy trang fake nhiều thật. Nói chung không có cảm giác “nhồi” quá nhiều thứ lên một màn hình, nhìn khá thoáng. Mình thích nhất là cách họ gom nội dung theo từng block và đặt tiêu…

Like

https://keonhacai5.net/ dạo này mình thấy nhiều người nhắc nên cũng bấm vào coi thử cho biết. Mình không đọc sâu đâu, chỉ lướt nhanh xem giao diện họ làm kiểu gì. Cảm giác đầu tiên là trang nhìn khá thoáng, không bị nhồi chữ quá mức nên kéo xuống cũng đỡ mỏi mắt. Mấy phần thông tin được chia theo từng khối rõ ràng, nhìn lướt là biết chỗ nào đang nói về gì, không phải đoán. Mình cũng để ý menu đặt khá dễ thấy nên đổi qua lại vài mục nhanh, không phải tìm hoài. Nói chung kiểu trình bày theo dạng khối và các bảng cột nhìn gọn, chữ và khoảng cách trên trang khá sạch.

Like

xoilac mình mới ghé thử vì thấy bạn bè nhắc, chủ yếu tò mò giao diện thôi chứ chưa kịp xem kỹ nội dung. Vào trang cái là thấy bố cục khá “thẳng thắn”, kiểu chia khu vực theo từng khối nên nhìn lướt qua cũng hiểu đang ở mục nào. Mình thích nhất là phần menu để khá dễ thấy, bấm chuyển qua lại không phải mò nhiều, cảm giác điều hướng mượt và ít rối. Mấy bảng thông tin họ trình bày theo cột gọn gàng, chữ không bị dồn sát nên đọc nhanh vẫn ổn. Nói chung mình chỉ cần vậy để đỡ mất thời gian làm quen, và ấn tượng đầu là các khối nội dung…

Like

337bet caiu no meu radar esses dias e eu entrei mais por curiosidade, só pra ver como era a cara do site. Não fui além de clicar aqui e ali, mas achei bem tranquilo de entender: os menus ficam bem na mão e você não precisa ficar adivinhando onde cada coisa está. Também curti que a página não vem toda “entulhada”; eles separam as infos em blocos e isso deixa a leitura mais leve, tipo você bate o olho e já pega o que importa. Pra quem só quer navegar sem dor de cabeça, dá uma sensação de organização bem boa. No geral, o que mais me marcou foi esse jeito de agrupar as categorias em caixas áreas bem visíveis…

Like
bottom of page