SlideShare a Scribd company logo
Weather Patterns Analysis and
Prediction using machine
learning
This is a project report for the pattern analysis of weather dataset provided.
We’ll look into some predictions made using machine learning models and
key features of dataset.
by Yash Saxena
Project Overview
Objective
 Predict weather conditions (e.g., rain presence)
 Identify weather patterns and clusters
 Use machine learning algorithms for prediction
Dataset Overview
The Dataset shows a number of aspects of weather.
Temperature, weather condition and rain presence are a few of
such. It has 730 instances, 8 features and 1 Key column.
Dataset contains weather data from 1st
jan 2015 to 31st
march
2017.
Exploratory Data Analysis
(EDA)
1 Temperature
Lowest: 12°C
Highest:45°C
Average:30.78 °C
Frequently Occuring:35°C
Occuring in 70 times.
2 Humidity
Lowest:6%
Maximum:100%
Average:36.34%
Frequently Occuring:31%
Occuring 30 times
3 Pressure
Lowest:994 hPa
Highest:1026 hPa
Average:1007.742 hPa
Frequently occuring:1014 hPa
Occuring times
4 Dew Point
Humidity
Lowest:1 °C
Highest:28 °C
Average:16.64 °C
Frequently occuring:12 °C
Occuring times
Methodology:Learning algorithms I used
K-NN Classification
The K-Nearest Neighbors algorithm calculates distances
between data points using a chosen metric (e.g., Euclidean
distance) and then assigns a class based on the majority
class among the k-nearest neighbors. Here, k is the number
of neighbours taken in consideration. This number is input by
user.
K-Means Clustering
K-Means Clustering aims to partition data into k number of
clusters by choosing k number of centroids and assigning
membership to nearest points and then recompute their
locations and the process goes on until there is no more
recomputation of their locations.
Results: Model Performance
K-NN Classification
Using this (where k=3), the rain presence predicted on the
06th
Jan 2019 was 0, indicating no rain. This output came from
the three nearest neighbours which were the following---
K-Means Clustering
The K-Means algorithm successfully identified distinct clusters
within the weather dataset with the two centroids as 01-Jan-
2015 and 02-Jan-2015
DATE 14-Jan-2016 28-Jan-2017 29-Jan-2017
Distance 4.034 4.585 2.833
Insights and Learnings
Trends
Analysis uncovered that the lower
the humidity was, the higher the
visibility became.
Insights
While analyzing, it was uncovered
that there is a steady increase of
0.88 degree celsius every year. This
can raise a big concern regarding
Global warming. With other natural
phenomenons like El Niño, there is a
good possibility in excessive
increase in temperature.
Impact
Machine learning techniques proved effective in analyzing and predicting
weather patterns, demonstrating the potential of data science and AI in
advancing weather forecasting and improving decision-making.
Challenges and Recommendations
1
Challenges
The biggest challenge was to use clustering in the 7 dimensional format, and assigning custom points for the K
means clustering.
2
Recommendations
Future projects could benefit from using more sophisticated machine learning models,
such as deep learning algorithms, to capture complex weather patterns and improve
predictive accuracy.
3
Recommendations
With more variety in the dataset, the model accuracy and
prediction could have been better.
Conclusion
This project demonstrated the successful application of machine learning
techniques for analyzing and predicting weather patterns. The results
suggest that AI and Machine learning can become future of Data Analysis.
The help of AI can be taken in other fields like Stock Market prediction,
Generative AI, and many more.
References
 Google Sheets
 Libre Office Impress(for presentation)
 Gamma app (Template of ppt)
 Orange(Machine learning algorithms)

More Related Content

PDF
An Investigation of Weather Forecasting using Machine Learning Techniques
PDF
IRJET - Intelligent Weather Forecasting using Machine Learning Techniques
PDF
BDE ESD Tool - Big Data Met NORWAY Rasmus Benestad
PDF
ESD-big data by Rasmus Benestad
PPTX
Weather forcasting.pptx
PPTX
Weather Forecasting using Deep Learning A lgorithm for the Ethiopian Context
PPTX
Implementation of Data Mining Techniques for Meteorological Data Analysis
PPTX
Weather Prediction using programming.pptx
An Investigation of Weather Forecasting using Machine Learning Techniques
IRJET - Intelligent Weather Forecasting using Machine Learning Techniques
BDE ESD Tool - Big Data Met NORWAY Rasmus Benestad
ESD-big data by Rasmus Benestad
Weather forcasting.pptx
Weather Forecasting using Deep Learning A lgorithm for the Ethiopian Context
Implementation of Data Mining Techniques for Meteorological Data Analysis
Weather Prediction using programming.pptx

Similar to Weather-Patterns-Analysis-and-Prediction.pdf (20)

PDF
IRJET- Dengue Possibility Forecasting Model using Machine Learning Algorithms
PDF
Climate Extremes Workshop - The Dependence Between Extreme Precipitation and...
PDF
ANNUAL PRECIPITATION IN SOUTHERN OF MADAGASCAR: MODELING USING HIGH ORDER FUZ...
PDF
3.3 Climate data and projections
PDF
International Journal of Fuzzy Logic Systems (IJFLS)
PDF
International Journal of Fuzzy Logic Systems (IJFLS)
PDF
International Journal of Fuzzy Logic Systems (IJFLS)
PDF
ANNUAL PRECIPITATION IN SOUTHERN OF MADAGASCAR: MODELING USING HIGH ORDER F...
PPT
Francisco J. Doblas-Big Data y cambio climático
DOCX
Clustering and Classification in Support of Climatology to mine Weather Data ...
PDF
1 s2.0-s0309170811002351-main
PPTX
WeatherAnalysis using EDA data science.pptx
PPTX
5.34 Predicting future climates (A2 biology)
PDF
V.8.0-Emerging Frontiers and Future Directions for Predictive Analytics
PDF
BigDataEurope 1st SC5 Workshop Big Data in ECMWF by Ioannis Mallas
PPTX
Introduction to Climate Change and factors
PDF
IRJET- Arduino Based Weather Monitoring System
PDF
Analysis of indian weather data sets using data mining techniques
PDF
A climatology analysis of the petrie creek catchment maroochydore australia u...
IRJET- Dengue Possibility Forecasting Model using Machine Learning Algorithms
Climate Extremes Workshop - The Dependence Between Extreme Precipitation and...
ANNUAL PRECIPITATION IN SOUTHERN OF MADAGASCAR: MODELING USING HIGH ORDER FUZ...
3.3 Climate data and projections
International Journal of Fuzzy Logic Systems (IJFLS)
International Journal of Fuzzy Logic Systems (IJFLS)
International Journal of Fuzzy Logic Systems (IJFLS)
ANNUAL PRECIPITATION IN SOUTHERN OF MADAGASCAR: MODELING USING HIGH ORDER F...
Francisco J. Doblas-Big Data y cambio climático
Clustering and Classification in Support of Climatology to mine Weather Data ...
1 s2.0-s0309170811002351-main
WeatherAnalysis using EDA data science.pptx
5.34 Predicting future climates (A2 biology)
V.8.0-Emerging Frontiers and Future Directions for Predictive Analytics
BigDataEurope 1st SC5 Workshop Big Data in ECMWF by Ioannis Mallas
Introduction to Climate Change and factors
IRJET- Arduino Based Weather Monitoring System
Analysis of indian weather data sets using data mining techniques
A climatology analysis of the petrie creek catchment maroochydore australia u...
Ad

Recently uploaded (20)

PPTX
Biodiversity.udfnfndrijfreniufrnsiufnriufrenfuiernfuire
PDF
Lecture 2 investigation of renal diseses.pdf
PPTX
Arugula. Crop used for medical plant in kurdistant
PPTX
NSTP1 NSTP1NSTP1NSTP1NSTP1NSTP1NSTP1NSTP
PPTX
structure and components of Environment.pptx
PPTX
Delivery census may 2025.pptxMNNN HJTDV U
PPT
PPTPresentation3 jhsvdasvdjhavsdhsvjcksjbc.jasb..ppt
PDF
Effective factors on adoption of intercropping and it’s role on development o...
PPTX
"One Earth Celebrating World Environment Day"
DOCX
Epoxy Coated Steel Bolted Tanks for Farm Digesters Supports On-Farm Organic W...
PDF
Effect of salinity on biochimical and anatomical characteristics of sweet pep...
PPTX
FIRE SAFETY SEMINAR SAMPLE FOR EVERYONE.pptx
PPTX
NOISE-MITIGATION.-pptxnaksnsbaksjvdksbsksk
DOCX
Epoxy Coated Steel Bolted Tanks for Dairy Farm Water Ensures Clean Water for ...
PPTX
Plant_Cell_Presentation.pptx.com learning purpose
PPTX
Concept of Safe and Wholesome Water.pptx
PDF
Urban Hub 50: Spirits of Place - & the Souls' of Places
PDF
Ornithology-Basic-Concepts.pdf..........
PDF
2-Reqerwsrhfdfsfgtdrttddjdiuiversion 2.pdf
PPT
Environmental pollution for educational study
Biodiversity.udfnfndrijfreniufrnsiufnriufrenfuiernfuire
Lecture 2 investigation of renal diseses.pdf
Arugula. Crop used for medical plant in kurdistant
NSTP1 NSTP1NSTP1NSTP1NSTP1NSTP1NSTP1NSTP
structure and components of Environment.pptx
Delivery census may 2025.pptxMNNN HJTDV U
PPTPresentation3 jhsvdasvdjhavsdhsvjcksjbc.jasb..ppt
Effective factors on adoption of intercropping and it’s role on development o...
"One Earth Celebrating World Environment Day"
Epoxy Coated Steel Bolted Tanks for Farm Digesters Supports On-Farm Organic W...
Effect of salinity on biochimical and anatomical characteristics of sweet pep...
FIRE SAFETY SEMINAR SAMPLE FOR EVERYONE.pptx
NOISE-MITIGATION.-pptxnaksnsbaksjvdksbsksk
Epoxy Coated Steel Bolted Tanks for Dairy Farm Water Ensures Clean Water for ...
Plant_Cell_Presentation.pptx.com learning purpose
Concept of Safe and Wholesome Water.pptx
Urban Hub 50: Spirits of Place - & the Souls' of Places
Ornithology-Basic-Concepts.pdf..........
2-Reqerwsrhfdfsfgtdrttddjdiuiversion 2.pdf
Environmental pollution for educational study
Ad

Weather-Patterns-Analysis-and-Prediction.pdf

  • 1. Weather Patterns Analysis and Prediction using machine learning This is a project report for the pattern analysis of weather dataset provided. We’ll look into some predictions made using machine learning models and key features of dataset. by Yash Saxena
  • 2. Project Overview Objective  Predict weather conditions (e.g., rain presence)  Identify weather patterns and clusters  Use machine learning algorithms for prediction Dataset Overview The Dataset shows a number of aspects of weather. Temperature, weather condition and rain presence are a few of such. It has 730 instances, 8 features and 1 Key column. Dataset contains weather data from 1st jan 2015 to 31st march 2017.
  • 3. Exploratory Data Analysis (EDA) 1 Temperature Lowest: 12°C Highest:45°C Average:30.78 °C Frequently Occuring:35°C Occuring in 70 times. 2 Humidity Lowest:6% Maximum:100% Average:36.34% Frequently Occuring:31% Occuring 30 times 3 Pressure Lowest:994 hPa Highest:1026 hPa Average:1007.742 hPa Frequently occuring:1014 hPa Occuring times 4 Dew Point Humidity Lowest:1 °C Highest:28 °C Average:16.64 °C Frequently occuring:12 °C Occuring times
  • 4. Methodology:Learning algorithms I used K-NN Classification The K-Nearest Neighbors algorithm calculates distances between data points using a chosen metric (e.g., Euclidean distance) and then assigns a class based on the majority class among the k-nearest neighbors. Here, k is the number of neighbours taken in consideration. This number is input by user. K-Means Clustering K-Means Clustering aims to partition data into k number of clusters by choosing k number of centroids and assigning membership to nearest points and then recompute their locations and the process goes on until there is no more recomputation of their locations.
  • 5. Results: Model Performance K-NN Classification Using this (where k=3), the rain presence predicted on the 06th Jan 2019 was 0, indicating no rain. This output came from the three nearest neighbours which were the following--- K-Means Clustering The K-Means algorithm successfully identified distinct clusters within the weather dataset with the two centroids as 01-Jan- 2015 and 02-Jan-2015 DATE 14-Jan-2016 28-Jan-2017 29-Jan-2017 Distance 4.034 4.585 2.833
  • 6. Insights and Learnings Trends Analysis uncovered that the lower the humidity was, the higher the visibility became. Insights While analyzing, it was uncovered that there is a steady increase of 0.88 degree celsius every year. This can raise a big concern regarding Global warming. With other natural phenomenons like El Niño, there is a good possibility in excessive increase in temperature. Impact Machine learning techniques proved effective in analyzing and predicting weather patterns, demonstrating the potential of data science and AI in advancing weather forecasting and improving decision-making.
  • 7. Challenges and Recommendations 1 Challenges The biggest challenge was to use clustering in the 7 dimensional format, and assigning custom points for the K means clustering. 2 Recommendations Future projects could benefit from using more sophisticated machine learning models, such as deep learning algorithms, to capture complex weather patterns and improve predictive accuracy. 3 Recommendations With more variety in the dataset, the model accuracy and prediction could have been better.
  • 8. Conclusion This project demonstrated the successful application of machine learning techniques for analyzing and predicting weather patterns. The results suggest that AI and Machine learning can become future of Data Analysis. The help of AI can be taken in other fields like Stock Market prediction, Generative AI, and many more.
  • 9. References  Google Sheets  Libre Office Impress(for presentation)  Gamma app (Template of ppt)  Orange(Machine learning algorithms)