# My small corner of the internet

# GitHub Pages - Moving from a fork to a remote theme

I’ve recently moved this GitHub Pages blog from to a remote theme.
This blog runs on the Jekyll blogging platform. You write posts and pages in markdown and use a theme to render them into a nice website. The theme I used for the blog was Type-on-Strap. To install the theme I followed the normal instructions of forking the repo before making any changes, such as writing posts or making new pages.

# Fitting a zero-inflated Poisson distribution

Can we generate and then fit a distribution with gradient descent?

# Linear regression for causal treatment effects

Quick exploration into regression coefficients in the presence of confounders and colliders.

# Fitting a multimodal beta distribution

Can we generate and then fit a multimodal distribution with gradient descent?

# Carbon forecast

I’ve built a new page for displaying forecasts for carbon intensity in the UK:

# Data analysis template repo

After experimenting with various project structures I’ve decided to start building my own:

# Image compression - part 2. - Autoencoders

In this post I will be looking at building an autoencoder to compress the MNIST dataset.
See part 1. here.

# Image compression - part 1. - PCA

In this post I will be briefly looking at PCA as a means to compress images.
Images are a matrix of pixels, where each value corresponds to some brightness.
Image compression typically involves representing those pixels in fewer dimensions than the original.

# Humidity forecast

I’ve built a new page for forecasting indoor humidity:

# Exploring multi-armed bandit baseline strategies

Our problem:
For the next 100 days, we will have 1 hour to play a video games.
We have 20 games, but have no idea which one we will enjoy the most.
How do we decide what to play each day?
We assume that the enjoyment we get from a single hour is random and comes from a beta distribution.
Each game has a different distribution.
Each hour we play of a game gives us an enjoyment value and helps build our knowledge of that game.