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.



16 Comments


hitclub dạo này thấy nhiều người nhắc nên mình cũng ghé vào xem thử giao diện ra sao. Mình không ham chơi lắm, chủ yếu tò mò cách họ trình bày nội dung thôi. Vào trang cái là thấy mọi thứ chia khối khá rõ, nhìn lướt cũng định hình được đâu là phần tải app iOS APK và đâu là phần giới thiệu nền tảng. Mình để ý họ có nhắc SSL 128-bit ngay chỗ dễ thấy nên đọc nhanh vẫn hiểu họ muốn nói gì về bảo mật. Chữ không bị dày đặc, tiêu đề nổi bật vừa đủ nên cuộn xuống không mệt mắt. Nói chung cảm giác làm trang gọn gàng, dễ tìm thông tin, nhất…

Like

LX88 mình ghé thử kiểu tiện tay thôi, vì thấy mọi người nhắc nên vào xem giao diện ra sao. Ấn tượng đầu là trang nhìn khá thoáng, nội dung chia theo từng khối nên lướt nhanh vẫn nắm được ý chính, không bị rối mắt. Mình có để ý họ có đoạn nói về giấy phép Curacao eGaming và mấy chứng chỉ kiểm tra độc lập, trình bày dạng box thông tin nên đọc lướt cũng hiểu họ đang muốn nhấn mạnh chuyện minh bạch. Menu đặt chỗ dễ thấy, bấm qua lại giữa các mục không bị “lạc”, cảm giác mượt và gọn. Nói chung nhìn như kiểu họ cố làm cho người mới vào cũng không bị…

Like

TR88 mình thấy bạn bè nhắc hoài nên cũng ghé thử cho biết, chủ yếu xem bố cục với cách trình bày thôi chứ không ngồi đọc kỹ. Vào trang cái là thấy họ chia nội dung theo từng khối khá rõ, lướt nhanh vẫn nắm được ý chính, không bị rối mắt kiểu dồn chữ. Mình có để ý đoạn giới thiệu họ ghi nền tảng thành lập năm 2018, kèm nhắc tới mấy giấy phép như PAGCOR với CEZA nên cảm giác đỡ lăn tăn hơn khi chỉ xem qua. Thanh menu đặt ngay chỗ dễ nhìn, kéo xuống là gặp mấy tiêu đề lớn tách bạch kiểu “ưu điểm” với “tính hợp pháp”, nhìn gọn và dễ…

Like

lc88 com mình vô thử cho biết thôi, tại thấy bạn bè nhắc hoài nên tò mò. Ai ngờ mở lên cái thấy giao diện khá sạch, bố cục chia mảng rõ nên không phải căng mắt tìm. Mình hay xem sát giờ nên chỉ quan tâm chỗ lịch với kết quả, thấy để ngay chỗ dễ nhìn, lướt cái là nắm được luôn, khỏi bấm qua nhiều tab. Trên điện thoại cũng ổn, chữ không bị bé quá hay dính vào nhau, kéo xuống vẫn mượt. Nói chung cảm giác làm gọn gàng, không kiểu nhồi nhét linh tinh, nhìn đỡ rối hơn mấy trang mình từng ghé. Kéo xuống là thấy các khối thông tin tách riêng, đặc…

Like

sx88.guru mình lướt thử cho biết vì thấy bạn bè nhắc, kiểu vào xem giao diện ra sao thôi. Vừa mở lên thấy trang chủ chia khung khá gọn, nhìn một phát là biết chỗ nào là thông tin chung, chỗ nào là phần giới thiệu, không bị rối mắt. Mình cũng để ý họ có nhắc tiêu chí 3C (công bằng – chất lượng – cam kết) ngay trong nội dung, đọc lướt vẫn hiểu ý chứ không phải kiểu viết dài dòng. Menu để ngay trên đầu nên bấm qua lại nhanh, không cần mò nhiều. Nói chung cảm giác site làm khá “đàng hoàng”, nhất là phần họ để thông tin giấy phép hoạt động hiển thị…

Like
bottom of page