Logo Lanfrica

santamm/ClimateChange

Domaine:

climate
Créateur:
san
Hôte:
AI in Africa Hackaton # ClimateChange Climate Change Temperature Predictions ### Table of Contents 1. Installation 2. Project Analysis 3. Metric 4. File Descriptions 5. Results 6. Licensing, Authors, and Acknowledgements ## Installation The code in this project is written in Python 3.6.6 :: Anaconda custom (64-bit). The following additional libraries have been used: * pandas * numpy * matplotlib * seaborn * sklearn * warnings * time * progressbar * keras * statsmodels ## Project Analysis This projects is divided in two parts: the first part is an exploratory analysis of the dataset, where the first questiopn we want to answer is: Is The Global Temperature Really Rising?? The resulting visualization shows that temperatures have been rising sharply from the 1970s. Then we present some visualizations with: * a world map with average Temperatures by Country * a time series of the average temperatures by Continent * a visualization with countries with highest difference between max and min temperature * a world map with difference between max and min temperature for each country * a barchart with the cities in South Africa ordered hottest to coldest * a heatmap of the major cities in SA In the second part we apply machine learning algorithms to the time series of the temperature to predict future tempertures. We first use models with a window size of 1, where a temperature in time is used to predict the one in the next time instant (usually a month). These models don't perform well in terms of predicting future temperatures that are more distant in time becuase of the seasonality of the data. Then we use models with a window size greater than one, and these ones reach higher accuracy in the prediction. We compare the performances of the following models: * Linear Regression * Feed Forward Neural Network * Long Short-Term Memory (LSTM): a type of recurrent neural network capable of learning order dependence in sequence prediction problems. * LSTM using a moving forward window of size 5 …

Licenses