Simple Forecasting

Simple Forecasting Recently , I have been looking into various ways to forecast a time series dataset. This is an old pursuit in the field of statistics and there are many well known ways to achieve this. In this post I will demonstrate a very basic (Naive) approach of forecasting a quarterly dataset of sales figure, by using previous 4 years (16 quarters) and forecasting/predicting the next 1 year of sales aggregate.
Read more →

how to install the latest python 3 on mac

Read more →

how to play apple music on alexa in uk

You can now use Alexa to play Apple Music on Amazon Echo speakers. It's just available for Echo devices and now customers in UK can also connect their apple music account with Alexa. Open the Alexa app then sign into your Amazon account and make sure that your Echo device is connected. Open Menu (top left icon), then select settings. Select Music. Select “Link New Service”
Read more →

download file using webdriver firefox and python selenium

Selenium is one of my favourite tool for automation. In this post, I will demonstrate some basic code to download a file from a website in a headless mode , and also provide a docker file to make things simpler. Python Code Here is some basic code which will make an attempt to download a **7zip exe. ** from pyvirtualdisplay import Display from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.
Read more →

web crawling or scraping using scrapy in python

Scrapy is a very popular web scraping/crawling framework, I have been using it for quite some time now. In this post, I will demonstrate creating a very basic web crawler. Install Scrapy Installation is via pip pip install scrapy Minimalistic Code A very simple scraper is created like this To Run , simply type scrapy runspider scraper.py Running, above code will output something like below 2018-12-02 14:01:18 [scrapy.utils.log] INFO: Scrapy 1.
Read more →