## Working with timezones in python

• Post author:
• Post category:Python

Working with timezones in python This very short post looks at converting dates between timezones. The most prevalent library for timezones in python is pytz, which can be installed by:…

## BG-NBD Model for Customer Base Analysis in Python

• Post author:
• Post category:Python

BG-NBD Model for Customer Base AnalysisIntroductionIn this post we will use python to replicate the BG-NBD (Beta Geometric Negative Binomial Distribution) model that is described in the paper “Counting Your…

## Using Azure Cognitive Services to Caption Video

• Post author:
• Post category:Python

Using Azure Cognitive Services to Caption VideoIn this post we will explore the use of Microsoft Azure Cognitive Services to caption video images caught from a webcam in real time.…

## Creating graphs using Flask and D3

Creating graphs using flask and D3There are some great libraries out there to help you get up and running quickly with interactive JavaScript graphs, including C3, NVD3, highcharts and plotly.…

## KDE and violin plots using seaborn

• Post author:
• Post category:Python

KDE and violin plots using seabornIn this post we're going to explore the use of seaborn to make Kernel Density Estimation (KDE) plots and Violin plots. Both of these plots…

## Discrete Probability Distributions (Bernoulli, Binomial, Poisson)

• Post author:
• Post category:Python

Bernoulli and Binomial DistributionsA Bernoulli Distribution is the probability distribution of a random variable which takes the value 1 with probability p and value 0 with probability 1 - p,…

## Gradient Descent for Linear Regression

• Post author:
• Post category:Python

Gradient Descent for Linear Regression In this post we'll explore the use of gradient descent to determine our parameters for linear regression. For simplicity's sake we'll use one feature variable.…

## Comparative Statistics in Python using SciPy

• Post author:
• Post category:Python

Comparative Statistics in Python using SciPy One-Sample T-TestWe use a one sample T-test to determine whether our sample mean (observed average) is statistically significantly different to the population mean (expected…

## Basic Statistics in Python

• Post author:
• Post category:Python

Basic Statistics in Python Let's create a dataset to work with and plot a histogram to visualise: In [1]: import numpy as np from scipy import stats import matplotlib import matplotlib.pyplot…

## Random Forests in python using scikit-learn

• Post author:
• Post category:Python

Random Forests in python using scikit-learnIn this post we'll be using the Parkinson's data set available from UCI here to predict Parkinson's status from potential predictors using Random Forests. Decision…