BUSINESS CASE: BASED ON MEAN TEMPREATURE OF PAST MONTH WE NEED TO PREDICT THE NEXT MONTH SURFACE AIR TEMPRETURE
Surface air temperature is the temperature of the air around us, generally measured at a height of around two meters (about 6 and a half feet) above the surface. Thermometers, shielded from direct solar energy, are used to measure surface air temperature.
- Load Data
- Check The Basics of data
Observation:
- The Data is shows the strong Seasonality.
Observation:
- In The Year of 1996 to 1998 surface air temperature has been suddenly increases.
- In 2014 to 2016 also surface temperature is high
- In This we can clearly see the seasonal pattern in data
- In Residule we can not explain the seasonal pattern and trend because of noise data.
- Taking last 12 month data for testing and remaining data for training
- Scale the data using Min-Max scaler
- In this project we are use LSTM to predict the mean of surface air temperature
- Creating a batches of 12 months with the help of timeseries generator
- Create sequential model
- Add LSTM layer with 100 neuron and the activation function is relu
- Add Output layer
- Check summary of model
- Total params: 40,901
- Trainable params: 40,901
- Non-trainable params: 0
- Use adam optimizer with loss of mean squared error
- Train model on 100 epoch to get a best result
- Save trained model using .h5 extension
- Take last 12 months values to make a prediction of first value of test set
- Reshape the data and make prediction
- Problem Faced To Understand the Business case
- First time worked with time series data
- Problem faced to make prediction
- Learn time series prediction using LSTM
- Learn how to do monthly prediction.



