The Keras Dense Layer

Ben Cook • Posted 2020-12-31 • Last updated 2021-03-24

The Keras dense layer can be a little confusing. This post will give you everything you need to start using it.

Combinations in Python

Ben Cook • Posted 2020-12-28 • Last updated 2021-10-15

There are lots of ways to generate combinations in Python. This post will show you all of them.

The Keras Custom Layer Explained

Ben Cook • Posted 2020-12-26 • Last updated 2021-03-24

Sometimes you need to define your own Keras custom layer. This tutorial explains how custom layers work for tensorflow>=1.7.0 (up to at least 2.4.0) which includes a fairly stable version of the Keras API.

How to Use the Pandas Melt Command

Ben Cook • Posted 2020-12-22 • Last updated 2021-10-15

The Pandas melt command unpivots tabular data, transforming it from wide to long format. To understand this operation, you have to know…

Object Tracking in 75 Lines of Code

Ben Cook • Posted 2020-08-01 • Last updated 2022-01-04

Object tracking is pretty easy conceptually. And if you have a good detector, simple methods can be pretty effective.