Posts

Showing posts from August, 2016

Theano Installation Instruction on Windows Machine

Install TDM GCC x64. Install Anaconda x64. run conda update conda. run conda update --all. run conda install mingw libpython. Install Theano (how you do this depends on whether you want to interact with the Theano source code or not, and whether you want the "bleeding edge" version, or are happy with the last, but out-of-date major release). Older version: e.g. pip install Theano. Bleeding edge version: e.g. pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git (see linked documentation for more options) Reference: How to install Theano on Anaconda Python 2.7 x64 on Windows?

ARMA and ARIMA Timeseries Prediction With Python and Pandas

Image
In this article I will try to give a brief introduction on how to make timeseries prediction with Python. For brevity I will try to skip the theory of timeseries. If you need to understand about timeseries please google the different terms that I used in this tutorial. So, without any delay lets start to code. I this article I used Pandas which is a very popular python library for statistics. First let add following lines at the top of our python file. It will import all the required library for our purpose. import numpy as np import pandas as pd import matplotlib.pyplot as plt from statsmodels.tsa.arima_model import ARMA , ARIMA from statsmodels.tsa.stattools import adfuller , arma_order_select_ic In this tutorials we used the dataset from kaggle which has the average temperature of the different countries of the world. It includes both land and sea temperature. Database is quite large so we will only pick one country to predict temperature. We will pick Canada. ...