Articles by Gary Hutson

Getting on the meet-up bandwagon – our first meet up event

September 12, 2019 | 0 Comments

My company Draper and Dash have tasked me with organising a wider meet-up event for anyone who is interested in AI / ML in healthcare. This wider working group consists of people from different sectors, however they are interested in how we can apply AI / ML methods in their organisations. Why ...
[Read more...]

Bucketing and highlighting dominant predictors in your ML models

September 5, 2019 | 0 Comments

Our company have been at it again. This time from my colleagues and fellow Data Scientist Alfonso Portabales. For this post we look at Draper and Dash’s custom method of highlighting dominant predictors in your machine learning models: If you are interested in our solutions in healthcare then please ... [Read more...]

Deploying a ML model in R

August 9, 2019 | 0 Comments

As a product of a series of training sessions Draper & Dash have been undertaking on Machine Learning using R – a candidate from the course asked “how do you split a model to later be used in a live / production environment?”. This post aims to answer that question: I hope you ... [Read more...]

RODBC helper function

May 31, 2019 | 0 Comments

The number of times I have to connect to SQL and I forget part of the RODBC command to connect to an internal data table. As part of a project I am working on I have been connecting to lots of different sources and became tired of typing lots of ... [Read more...]

NHS-R Community: Up the R-evolution

January 29, 2019 | 0 Comments

It seems like two seconds ago since I was frantically preparing slides for the first NHS community. Wow – what an experience and kudos to the team @NHS-R Community for arranging it. The full content of the event has been posted: https://nhsrcommunity.com/nhs-r-conference-9-october-2018/. What a fantastic event this ... [Read more...]

A simple function to create nice correlation plots

November 30, 2018 | 0 Comments

The problem I was working with a dataset where I wanted to assess the correlation of different variables in R. As much as I like R – the outputs from the console window leave something to be desired (in terms of data visualisation). Therefore, I wanted a way to visualise these ... [Read more...]

A simple function to install and load packages in R

August 16, 2018 | 0 Comments

One function to rule the world, or install or load your packages for you I was starting to despair at the amount of packages I end up using during the task of transforming, cleaning, modelling and validating some of my models. I thought there must be a simple approach to ... [Read more...]

DPLYR: A Beginners Guide

May 24, 2018 | 0 Comments

What is DPLYR? Dplyr is a grammar of data manipulation, providing a consistent set of verbs that help you solve the most common data manipulation challenges. The next series of examples will show how you can use the shortcuts in Dplyr to achieve the results of traditional R data manipulation, ...
[Read more...]

Violin and density plots in ggplot2

May 17, 2018 | 0 Comments

Violin Plots This chart is a combination of a Box Plot and a Density Plo that is rotated and placed on each side, to show the distribution shape of the data. The thick black bar in the centre represents the interquartile range, the thin black line extended from it represents ...
[Read more...]

Box Plots in ggplot2

May 16, 2018 | 0 Comments

Setting up the plot The box plot, in ggplot2, can be really powerful and useful for analysing variation. I will show a few examples of different types of box plots in ggplot2. Basic Box Plot library(ggplot2) theme_set(theme_classic()) # Plot plot [Read more...]

Histogram with auto binning in ggplot2

May 16, 2018 | 0 Comments

Histograms (with auto binning) Again, we will use the mtcars dataset and use the fields in that to produce the chart, as we are doing this there is nothing to do on the data preparation side. That leaves us to have fun with the plot. Building the Histogram with auto ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)