Phase 1
Phase 1
Project Report
Submitted by
POONGAVANAM P
Reg no: 513421104028
BACHELOR OF ENGINEERING
In
I. INTRODUCTION
Such models can contribute to the fastest possible lifesaving and prove to be
a successful and affordable option.[1-3] It can be further enhanced by
including the distribution of goods like food, clothing, medical care, and money
in accordance with the number of fatalities among people and the degree of
structural damage.
II. BACKGROUND
III. MOTIVATION
V. METHODOLOGY
Dataset Link:
https://www.kaggle.com/datasets/usgs/earthquake-database
DESIGN THINKING
1.Data Source: Choose a suitable Kaggle dataset containing earthquake data
with features like date, time, latitude, longitude, depth, and magnitude.
A. Importing Libraries :
Figure 1 shows the Python code to import libraries. We have used four
libraries :-
• Python has a library called Numpy that is used for scientific computing. This
library is utilised throughout the project and is imported as np.
• Pandas are used for data analysis and manipulation. An open source,
BSD-licensed library called pandas offers simple data structures and tools for
data analysis. It is imported as pd.
• matplotlib is a python library. The command-style utilities in pyplot enable
matplotlib to behave similarly to MATLAB. It is imported as plt.
• Seaborn is a matplotlib-based Python data visualisation package for
aesthetically pleasing and educational statistical visuals. It is imported as sns.
B. Importing data :
The below figure displays the Python code for importing data from the
appropriate directory or file and allocating it to a DataFrame. It imports the
data that is kept in CSV format.
C. Checking for NaN :
Checking for NaN is a critical step in the pre-processing of data. We were only
able to identify a few NaNs in this test. The Python code to check for NaN is
displayed below .
Here, the data is random; we need to scale according to inputs to the model.
In this, we convert given Date and Time to Unix time which is in seconds and
a numeral. This can be easily used as input for the network we built.
2.Feature Exploration: Analyse and understand the distribution, correlations,
and characteristics of the key features.
Distribution :
Correlation :
Characteristics:
Here, all the earthquakes from the database are visualised on to the world
map which shows clear representation of the locations where frequency of the
earthquake will be more.
E. Plotting a Basemap :-
Basemaps serve as a reference map on which you overlay data from layers
and visualise geographic information. An individual basemap can be made of
multiple feature, raster, or web layers. Basemaps are the foundation for your
maps and provide context for your work. A sample 3D basemap over Athens,
Greece, is shown.
F.PLOTTING A HEATMAP:-
Heatmaps are used in various forms of analytics but are most commonly used
to show user behavior on specific web pages or webpage templates.
Heatmaps can be used to show where users have clicked on a page, how far
they have scrolled down a page, or used to display the results of eye-tracking
tests.
G. Train/Test split :-
Creating train and test sets from the data is our next step towards developing
a Machine Learning model. The Python code to divide the data set into train
and test data is shown below
5.Model Development:
SOLUTION ARCHITECTURE
● Solution architecture is a structured approach to designing complex
systems or projects,
● Outlining the components , relationships , and processes to achieve
specific goals or solve problems efficiently .
● It provides a high - level blueprint for project development and
implementation .
● Gather and preprocess data from various sources , ensuring
data quality .
● Train AI models for earthquake prediction and evaluate their
performance.
● Deploy models in a secure , scalable environment with a user - friendly
interface .
● Continuously monitor and update the system while complying with
regulations .
● Collaborate with professionals and gather user feedback for
improvements .
AI based earthquake prediction system solution architecture:
Conclusion:
References :
1. https://github.com/akash-r34/Earthquake-prediction-using-Machine-lear
ning-models
2. https://www.researchgate.net/publication/313858017_Machine_Learnin
g_Predicts_Laboratory_Earthquakes
3. http://earthquake.usgs.gov/data/comcat/data-eventterms.php#time
4. DriveData, Richter’s Predictor: Modeling Earthquake Damage (2021).
5. Sameer, Earthquake History (1965–2016): Data Visualization and Model
Development.
6. World Health Organization, Earthquakes, Health topics.