dinesh-m / google_search_analyzer

Google Search Analyzer is a Jupyter Notebook based application which uses the Time Series Analysis technique to analyze the underlying data over the discrete time intervals and do forecasting for future revenue.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Search Analyzer

Google Search Analyzer is a Jupyter Notebook based application which uses the Time Series Analysis technique to analyze the underlying data over the discrete time intervals and do forecasting for future revenue. The forecasting is done using an open source library Prophet. MercadoLibre google search and sales data is used in this project. Mercado Libre is the most popular e-commerce site in Latin America. The program analyzes the company's financial and user data in clever ways to make the company grow. The program finds out if the ability to predict search traffic can translate into the ability to successfully trade the stock.

The analysis is done in the following order.

  • Step 1: Find unusual patterns in hourly Google search traffic
  • Step 2: Mine the search traffic data for seasonality
  • Step 3: Relate the search traffic to stock price patterns
  • Step 4: Create a time series model with Prophet
  • Step 5: Forecast revenue by using time series models

Technologies

This project leverages Google Colab as a managed runtime hosted environment. Required Python libraries and dependencies can be installed in no time.

  • Google Colab - Colab allows anybody to write and execute arbitrary python code through the browser, and is especially well suited to machine learning, data analysis and education.

Required Libraries:

You may need the following key libraries to work with the program.

  • Pandas - pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with “relational” or “labeled” data both easy and intuitive.
  • Prophet - Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects.
  • hvPlot - hvPlot provides a high-level plotting API built on HoloViews that provides a general and consistent API for plotting data in Python.

Usage

To use the Google Search Analyzer application, clone the repository in your local workspace. Next, open Google Colab and upload forecasting_net_prophet.ipynb, which will load similar to a Jupyter Notebook web console. You may be prompted to upload csv files at three different stages. The CSV files are contained inside the Resources folder.

Google Colab

You may see the heatmap of hourly and days of week search trend as one such output of the analysis.

Heatmap of search trend

The forecast output using the Prophet library.

Summed values of quarterly forecasting

Contributors

FinTech Labs, Inc.


License

None

About

Google Search Analyzer is a Jupyter Notebook based application which uses the Time Series Analysis technique to analyze the underlying data over the discrete time intervals and do forecasting for future revenue.


Languages

Language:Jupyter Notebook 100.0%