Skip to content

Raahul46/Earthquake-damage-classification

Repository files navigation


forthebadge made-with-python

Earthquake Damage Classification

An earthquake is the shaking of the surface of the Earth, resulting from the sudden release of energy in the Earth's lithosphere that creates seismic waves. Earthquakes can range in size from those that are so weak that they cannot be felt to those violent enough to toss people around and destroy whole cities. The seismicity, or seismic activity, of an area is the frequency, type and size of earthquakes experienced over a period of time. This classification model helps us to classify the buildings according to their damages before the earthquake based on the past experiences in that area.

WORKFLOW

  1. Create a python environment.
  2. Run the requirements.txt file to install all the dependencies.
  3. Make sure all the Files are in the same folders.(Unzip the DATASET.rar and place all the files in the same folder)
  4. The File "preprocessfinale11.py" is used for preprocessing the dataset.
  5. The File "model.py" has the random forest implementation.
  6. The pickle file "RF_model.sav" is the saved model of the implementation.

ACCURACY 70%

Due to limited time and computational power. I have used less number of "n_estimators" if anyone is using this project and has a high computational power, please do use gridsearch inorder to find the best parameters for high accuracy.

INSIGHTS

HEATMAP

# FEATURE IMPORTANCE

MIT license

About

A classification model built within 12 hours for building damages caused by an Earthquake in an area.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages