Skip to content
Ben Alex Keen
  • Home
  • About
  • Blog
Menu Close
  • Home
  • About
  • Blog

Author: Ben Keen

This author has written 74 articles
  1. Home>
  2. Ben Keen>
  3. Page 4

Updating output values using input scrollbar values

  • Post author:Ben Keen
  • Post published:18th May 2018
  • Post category:Javascript

In this post we'll look at updating an output value using input range scrollbars using JavaScript. We will calculate the area of a cuboid based on the length, width and…

Continue ReadingUpdating output values using input scrollbar values

BG-NBD Model for Customer Base Analysis in Python

  • Post author:Ben Keen
  • Post published:26th April 2018
  • 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…

Continue ReadingBG-NBD Model for Customer Base Analysis in Python

Using Azure Cognitive Services to Caption Video

  • Post author:Ben Keen
  • Post published:10th April 2018
  • 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.…

Continue ReadingUsing Azure Cognitive Services to Caption Video

Creating graphs using Flask and D3

  • Post author:Ben Keen
  • Post published:21st October 2017
  • Post category:Javascript/Python

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.…

Continue ReadingCreating graphs using Flask and D3

Conditional disabling of form inputs

  • Post author:Ben Keen
  • Post published:12th October 2017
  • Post category:Javascript

In this post we'll look at how we can use checkboxes and radio buttons to conditionally enable or disable other inputs for forms. First we'll activate input forms by checking…

Continue ReadingConditional disabling of form inputs

KDE and violin plots using seaborn

  • Post author:Ben Keen
  • Post published:7th September 2017
  • 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…

Continue ReadingKDE and violin plots using seaborn

Discrete Probability Distributions (Bernoulli, Binomial, Poisson)

  • Post author:Ben Keen
  • Post published:6th September 2017
  • 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,…

Continue ReadingDiscrete Probability Distributions (Bernoulli, Binomial, Poisson)

Gradient Descent for Linear Regression

  • Post author:Ben Keen
  • Post published:9th August 2017
  • 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.…

Continue ReadingGradient Descent for Linear Regression

Comparative Statistics in Python using SciPy

  • Post author:Ben Keen
  • Post published:1st June 2017
  • 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…

Continue ReadingComparative Statistics in Python using SciPy

Basic Statistics in Python

  • Post author:Ben Keen
  • Post published:1st June 2017
  • 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…

Continue ReadingBasic Statistics in Python
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • Go to the next page
© Ben Alex Keen