Giter Club home page Giter Club logo

python-project-5's Introduction

Weather-Forecast-And-Prediction-by-Machine-Learning

image image image image image image

**

Background

** For the current situation, Hong Kong observatory conduct a traditional weather forecasting. There are four common methods to predict weather. The first method is climatology method that is reviewing weather statistics gathered over multiple years and calculating the averages.The second method is analog method that is to find a day in the past with weather similar to the current forecast. The third method is persistence and trends method that has no skill to predict the weather because it relies on past trends. The fourth method isnumerical weather prediction the is making weather predictions based on multiple conditions in atmosphere such as temperatures, wind speed, high-and low-pressure systems, rainfall, snowfall and other conditions.So,there are many limitations of these traditional methods. Not only It forecasts the temperature in the current month at most, but also it predicts without using machine learning algorithms.Therefore, my project is to increase the accuracy and predict weather in the future at least one month through applying machine learning techniques.

**

Objective (Brief)

** There are two purposes of my project. One of the purposeis to forecast the status of weather in the August of specific year. I will demonstrate the result through using decision tree regression and show the output for the status of wet or heat. Another aim is to predict the temperature using different algorithms like linear regression, random forest regression and K-nearest neighbor regression. The output value should be numerical based on multiple extra factors like population density and air health quality.

enter image description here

**

Purpose (Detail)

** To forecast the status of weather in the August of next year
ML Algorithm: Decision Tree Regression
Status: wet and heat
Output Value: Yes / No
To predict the temperature using Different Algorithms
ML Algorithms: Linear Regression, Random Forest Regression, K-Nearest Neighbor
Output Value: Numerical

Algorithm - Decision Tree: builds regression or classification models in the form of a tree structure
Algorithm - Linear Regression: performs the task to predict a dependent variable value (y) based on a given independent variable (x)
Algorithm - Random Forest Regression: performing both regression and classification tasks using multiple decision trees and a statistical technique called bagging
Algorithm - K-Nearest Neighbor Regression

Data Source: Hong Kong Observatory, aqhi.gov.hk
Dynamic Data: August of 1999 - 2019
Static Data: June of 2014 - 2019

**

Data Description:

** mean_temp: mean air temperature
max_temp: mean daily maximum air temperature
min_temp: mean daily minimum air temperature
meanhum: mean relative humidity
meandew: mean dew point temperature
pressure: mean daily air pressure
heat: true when mean air temperature is over or equal to 30
wet: true when mean relative humidity is over or equal to 80
Mean_cloud: mean cloud
population: population density
Sunshine_hour: mean number of hour of sunshine
Wind_direction: mean wind direction
Wind_speed: mean wind speed
Air_health_quality: mean daily air health quality

**

System Requirement:

** Python 3.6
BeautifulSoup
Pandas
Numpy
Matplotlib
Seaborn
Openpyxl
Sklearn
wxPython

**

Function of Program:

** ‘Forecast’ Button: Forecast the status of weather in the August of next year
‘Activate Auto-Forecast’ Button: Periodically forecast the status of weather
‘Prediction’ Button: Predict the mean temperature based on other factors

**

User Guide:

** Step 1: Download & Install Python 3.6
Step 2: Go to Terminal & Download Python Library (py -3.6 –m pip install ____)
Step 3: Go to ‘Weather_Prediction’ folder & click GUI.cpython-36
Step 4: The forecast result will be stored in ‘prediction’ folder. The prediction statistics will be stored in ‘statistics’ folder

**

Developer Tools:

** Programming Language: Python
IDE: PyCharm
GUI: wxPython, wxFormBuilder
Web Scraping: BeautifulSoup, ParseHub
Debugging & Testing: Jupyter Notebook
Data Format: Microsoft Excel

python-project-5's People

Contributors

kushal334 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.