This repository contains codes written and used by Xin Cui for classification and of shallow and deep earthquake, and intermediate-depth and deep-focus earthquake. Based on the classification result, the codes show the quantitative relationship between the distinguishable characteristics with focal depth and Earth’s rigidity.
The script require python and some commonly used packages.
The data All_data_feature.csv is extracted from an open database SCARDEC, which is available at http://scardec.projects.sismo.ipgp.fr/
You can run the test code as:
python RF.py
This will return the results and save them in ./out directory.