Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.16 KB

File metadata and controls

32 lines (18 loc) · 1.16 KB

WeatherPrediction

Weather prediction using python. Weather forecasting is the task of predicting the state of the atmosphere at a future time and a specified location. There are many types of machine learning algorithms to predict the weather, of which two most important algorithms in predicting the weather are Linear Regression and a variation of Functional Regression. These models are trained based on the historical data provided of any location. Input to these models are provided such as if predicting temperature, then minimum temperature, mean atmospheric pressure, maximum temperature, mean humidity, and classification for 2 days.

How to Run the .ipynb file?

1.Open the terminal (Ctrl + Alt + T).

2.Navigate to the folder where your .ipynb file saved.

3.Type jupyter notebook

4.Open the file that you want to read.

5.To run the program line by line press shift+Enter.

Steps used in the above Machine Learning program.

  1. Import all the necessary libraries.

  2. dataSet = Read dataset

  3. Split dataSet into training and testing sets.

  4. Apply the linear regression to the set of data.

  5. Visualize the training Test Results.

  6. Plot the graph.