https://github.com/annapoorna-a-k/earthquake-prediction-using-linear-regression
Mathematics for Intelligent Systems-2 Project on Earthquake Prediction using Linear Regression
https://github.com/annapoorna-a-k/earthquake-prediction-using-linear-regression
linear-regression machine-learning machinelearning-python python
Last synced: 4 months ago
JSON representation
Mathematics for Intelligent Systems-2 Project on Earthquake Prediction using Linear Regression
- Host: GitHub
- URL: https://github.com/annapoorna-a-k/earthquake-prediction-using-linear-regression
- Owner: annapoorna-a-k
- Created: 2022-07-12T19:36:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T19:54:40.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T04:28:22.358Z (5 months ago)
- Topics: linear-regression, machine-learning, machinelearning-python, python
- Language: Jupyter Notebook
- Homepage:
- Size: 1.65 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EARTHQUAKE-PREDICTION-using-Linear-Regression
Earthquake Prediction is a way of predicting magnitude of earthquake based on parameters such as longitude, latitude, depth, and duration magnitude, country, depth using machine learning to give warning of potentially damaging earthquakes early enough to allow appropriate response to the disaster, enabling people to minimize loss of life and property.The steps we have taken here are:
1. Preparing the dataset
2. Building a model with Linear Regression
3. Visualization with Matplotlib and SeabornWith the help of Python and suitable machine learning algorithms, we can create prediction models and graph the data as we want. In this project, one of the parameters of the earthquake data as a csv file is predicted with the help of Linear Regression, an algorithm of Machine Learning.
# Dataset Information
Earthquake data can be taken from :
https://www.kaggle.com/datasets/caganseval/earthquakeHere we used Turkey's earthquake data and one of the occured earthquakes in Kocaeli in 2007 that has maximum magnitude 4.0 is guessed as 4.05 with linear regression. In order to generate training and test data, other variables like longitude, latitude, depth, and duration magnitude are also used.
The parameters are:
Id: order number of the earthquake
Date: earthquake occurrence date
Time: time of the earthquake
Lat: latitude of the earthquake epicenter
Long: longitude of the earthquake epicenter
Country: country of the earthquake epicenter
City: province of the occurred earthquake
Area: region of the occurred earthquake
Direction: direction of the earthquake signal
Dist: district of the occurred earthquake
Depth: depth of the occurred earthquake (distance from the surface)
Xm: the largest of the given magnitude values
Md: magnitude depending on time
Richter: Richter magnitude or the local magnitude (ML)
Mw: moment magnitude
Ms: surface wave magnitude
Mb: body wave magnitude