I. Introduction
In the last decade, mobile devices including smartphones and Internet of things (IoT) have made a significant development in both hardware and software. Such mobile devices are often equipped with a variety of sensors such as an accelerometer, a gyroscope, a GPS, a magnitometer, etc., and these sensors are widely used to get useful information (e.g., location-aware services), to improve user experiences (e.g., game), to keep track of their daily life (e.g., health applications), etc. Furthermore, recently there were attempts to use sensors inside smartphone to detect an earthquake. In particular, MyShake can detect earthquakes by capturing sensor data from smartphones [1].