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

Author: Ben Keen

This author has written 75 articles
  1. Home>
  2. Ben Keen>
  3. Page 5

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

Random Forests in python using scikit-learn

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

Continue ReadingRandom Forests in python using scikit-learn

Support Vector Classifiers in python using scikit-learn

  • Post author:Ben Keen
  • Post published:31st May 2017
  • Post category:Python

Support Vector Classifiers in python using scikit-learnIn this post we will be using a Support Vector Classifier (SVC) to classify handwritten digits. This dataset can be found here. Support Vector…

Continue ReadingSupport Vector Classifiers in python using scikit-learn

Decision Tree Classifier in Python using Scikit-learn

  • Post author:Ben Keen
  • Post published:31st May 2017
  • Post category:Python

Decision Tree Classifier in Python using Scikit-learnDecision Trees can be used as classifier or regression models. A tree structure is constructed that breaks the dataset down into smaller subsets eventually…

Continue ReadingDecision Tree Classifier in Python using Scikit-learn

Linear Regression in Python using scikit-learn

  • Post author:Ben Keen
  • Post published:23rd May 2017
  • Post category:Python

Linear Regression in Python using scikit-learnIn this post, we'll be exploring Linear Regression using scikit-learn in python. We will use the physical attributes of a car to predict its miles…

Continue ReadingLinear Regression in Python using scikit-learn

Auto-updating dropdown fields in javascript

  • Post author:Ben Keen
  • Post published:17th May 2017
  • Post category:Javascript

In this post we'll explore the use of JavaScript to automatically update dropdown fields based on the input of the previous field. For an example, see the codepen example below:…

Continue ReadingAuto-updating dropdown fields in javascript

Autofilling forms with Javascript

  • Post author:Ben Keen
  • Post published:17th May 2017
  • Post category:Javascript

In this post we're going to write some JavaScript that will allow us to autofill a form. We'll fill in a text input, a dropdown input and a radio input.…

Continue ReadingAutofilling forms with Javascript

Feature Scaling with scikit-learn

  • Post author:Ben Keen
  • Post published:10th May 2017
  • Post category:Python

Feature Scaling with scikit-learn In this post we explore 3 methods of feature scaling that are implemented in scikit-learn: StandardScaler MinMaxScaler RobustScaler Normalizer Standard Scaler The StandardScaler assumes your data…

Continue ReadingFeature Scaling with scikit-learn

K-nearest Neighbours Classification in python

  • Post author:Ben Keen
  • Post published:10th May 2017
  • Post category:Python

K-nearest Neighbours Classification in pythonK-nearest Neighbours is a classification algorithm. Just like K-means, it uses Euclidean distance to assign samples, but K-nearest neighbours is a supervised algorithm and requires training…

Continue ReadingK-nearest Neighbours Classification in python

Scoring Classifier Models using scikit-learn

  • Post author:Ben Keen
  • Post published:10th May 2017
  • Post category:Python

Scoring Classifier Models using scikit-learn scikit-learn comes with a few methods to help us score our categorical models. The first is accuracy_score, which provides a simple accuracy score of our…

Continue ReadingScoring Classifier Models using scikit-learn
  • Go to the previous page
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • Go to the next page
© Ben Alex Keen