TEAM NAME : DATA_TITANS
TEAM MEMBERS : M.HEMANTH KUMAR, A.PAVAN SHANKAR, B.MANOHAR, V. LITHIN CHOWDARY, E.V.S.SAI RAM
PROBLEM STATEMENT :What do Game of Thrones and Telecoms Have in Common ?
At first we have recieved 700Mb of zip data and we extracted which has expanded to 4GB approximately.We imported the data in python and done EDA (Exploratory Data Analysis) and find the answers for given six questions.After we have observed the data ,some records have zero delays. We taken the zero delays into a new dataset called data_least.This data contains the Ravens with less number of delays.And the remaining part of the data we imported into new dataset called data_most. We considered the data_most where delays are more than one.
With the help of cleaned data,we find the solutions for the six questions.After that we have done the Time series analysis for Mobile data delays.
We have grouped based on DATETIME,and found the count of delays for every date. We have exported it to csv file and done the Time Series analysis using R language. Here in R ,we imported the packages which are useful for Time series analysis and fitted the model.We have done the best fit model depending on RMSE values we considered the best fit model.
From this we came to know that the RAVEN means the TOWER and RAVEN is the channel for making the voice calls and for the usage of data. In order to share the information from one person to other person or one point to other point we need some channel to transfer or network to share it. From this data set we found there are 7847 unique RAVEN NAMES. Different networks are 2G,3G,4G.
(i) Top 10 ravens with fails :
For this question ,we made the data into two groups .The rows having 0’s are taken as least number of failures. The other group having delays more than 1 are considered as delays or failures.We had taken the count of each row having delays .Our approach had made the following result.
(ii) Top 10 ravens without fails :
We divided the data into data_least and data_most.We have taken data_least which consists of rows with less number of delays.Here you can find the
top 10 ravens without fails
(iii) The family with most fails :
To find the family with most fails we hasd taken the data_most group and find the family with most fails.Here we got Targarean Family with most fails.
(iv) The family with least fails :
To find the family with most fails we had taken the data_most group and find the family with most fails.Here we got Baelish Family with most fails
(v) The family member with most fails :
We have taken the data_most group and we find the family name with most fails. In this we got the Petyr Baelish as family member with most fails.
(vi) The family member with least fails :
To find the family member with least fails to group by the family member.In this we got Euron as the least fails.
After the EDA we need to predict the future four days of delays in mobile data connectivity. To predict the four days delays we use Time Series analysis.
In Time Series Analysis we used three algortihms ARIMA,Simple Exponential Model,Recurrent Neural Networks.
We first train the 3 models and based on RMSE we get the best fit model.
Time Series Analysis By using ARIMA:
We have used ARIMA alogorithm for predicting the next four days.It is represented below in a graph.
Evaluating the Model:
We have divided the data of 31 records for 31 days in the dataset.We divided 27 records into train data and 4 records as test data.
We evaluated the model using RMSE(Root Mean Square Error).
Time Series Analysis By using Simple Exponential Model:
Evaluating the Model:
Time Series Analysis By using Recurrent Neural Networks(RNN):
Evaluating the Model:
EVALUATING THE BEST FIT MODEL:
Root Mean Square for ARIMA:
Root Mean Square for Recurrent Neural Network:
Root Mean Square for Simple Exponential Model:
Hence we consider RNN(Recurrent Neural Network) as the best fit model for predicting the four days delays values.
We fitted the model with ARIMA and predict the failures of four days and fitted the model using another algorithm Simple Exponential Analysis.
And We used Recurrent Neural Networks for Prediction of failures.
After Fitting the three models using three different algorithms we evaluated by splitting the data into train and test.
We evaluated the best fit model by using the Root Mean Square Error.By considering the RMSE values of three models, the model with least RMSE value is taken as the best fit model.
In this case considering the mobile failure dataset,RNN(Recurrent Neural Network)has least RMSE value.
So,RNN is taken as the best fit model to predict the future four days of mobile data delays.
The below attachment consists the python code of the Exploratory Data Analysis and Rmarkdown file for Time Series Analysis.
Additional analysis on every 15 minuter for the first 3 days:
In the above graph we can analyse that failures are more at 12.00 clock .The same observations we can observe in the first three days at the same time.
There is high failure rate at 12.00 and 18.00 time.And there is a same kind of patterns repeating in the first three days
Analysis on every 15 minutes for the random 3 days:
If you consider the random three days of entire data,they are more failures at the specific time at 12.00 and 18.00 clock.
We observe the similar kind of pattern in the data all the days.
By the conclusion, we Analysed that the common things in between the Telenor and GAME OF THRONES are,
In GOT they used RAVEN as a messenger and mediators where
telecoms are using CELL TOWERS as RAVEN,
Based on the RNN algorithm the prediction of delays for the next four days based on the dataset
are 973776,973725,973674,973623 for 6,7,8,9 August 2018 respectively.