I'm Tomas Basham, a software developer in London, working on backend services and the infrastructure they run on. I write about Go, Rust, cloud and operations, and in my spare time I bake sourdough, hunt for the best burger in town and tinker with electronics and 3D printing.

Most modern software services attempt to provide a system that is available 100% of the time to millions of users around the world. However this provides many challenges in respect to reliability and scalability that are not easily solved with traditional software development and operational methodologies. In this article I...

This is how I use git either working as part of a team or individually. I use an amend/rebase mutable-history workflow where each idea is always represented by one commit. I never make checkpoint commits, and I only need to write git commit messages once per feature (and perhaps amend...

Articles

The features in our dataset have a significant influence over the performance of the predictive model we are able to create. Broadly speaking, in machine learning if you feed garbage into a classifier you should expect only garbage to come out. This becomes more important as the number of features...

In general, classifiers that exploit distances (i.e. Euclidean distance) or similarities between examples are sensitive to features taking on broad ranges of values. That is classifiers that have a co-dependency between dimensions are affected by feature scaling. For example if one feature takes on a range of values much greater...

The next step in this experiment is to create new features from the existing data in the Enron dataset. I’ll do this in an attempt to tease out any latent information within combinations of features that may improve performance. Using my intuition and reasoning about the background of the Enron...

In this section I am going to perform a preliminary assessment of 4 “out of the box” classifiers using their respective default parameters. I’m going to use the results of evaluating these classifiers as a baseline from which I may improve performance, or ultimately dismiss classifiers from being further evaluated....

Learning the parameters of a predictive model and testing it on the same data is a methodological mistake: a model that would just repeat the labels of the samples that it has just seen would have a perfect score but would fail to predict anything useful on yet-unseen data. This...

Before continuing to implement a predictive model and investigating different classifiers I want to discuss the evaluation metrics I’ll be using to determine the suitability of each classifier. This is an important topic as without knowing what we’re measuring it will not be possible to meaningfully improve and tune our...

In previous sections I’ve cleaned data that exhibited issues with data entry and missing values. Now I would like to discover the outliers. This part of the data exploration has deliberately been left until last. The reason being that this step is destructive. That is up until now we have...

So far in this series I have corrected data entry errors in the Enron dataset and dealt with its missing and incomplete values. Before going any further there is one more way the data can mislead us that is worth understanding: leakage. Data leakage causes a predictive model to appear...