todayilearned.hashnode.devA 96% Accurate OCR System from 1959Here's an interesting idea: instead of measuring the similarity of two black and white images by counting the number of identical pixels, group the pixels randomly into pairs and count the number of identical pairs. Once you have defined this altern...Jan 13, 2023·3 min read
todayilearned.hashnode.devParameter Estimation for the Multivariate t DistributionThe t distribution has long tails and is therefore robust against outliers. If we can fit a multivariate t distribution to a data set of input-output pairs, we can therefore perform outlier-robust linear regression. This post provides code that does ...Dec 30, 2022·5 min read
todayilearned.hashnode.devSufficient Statistics for the Multivariate GaussianThis article presents some Python code for computing the log-likelihood of a sample under a multivariate Gaussian distribution, along with the formulas used to justify the method of computation. The One-Dimensional Case The likelihood of a data set u...Dec 29, 2022·3 min read
todayilearned.hashnode.devHue Angles and Rotated ColorsThe HSV color model parameterizes the pure colors in terms of angles. While the idea of using an angle to select a point on a color wheel is intuitive enough, the precise mapping between angle and hues is somewhat involved. Since I recently understoo...Dec 24, 2022·4 min read
todayilearned.hashnode.devPeano's Space-Filling Curve: Tiles and CodePeano's space-filling curve is a uniformly continuous and surjective mapping of the unit interval onto the unit square. The curve is a fractal — it is constructed using a recursive refinement scheme that doubles its length in each iteration. Corner-t...Dec 23, 2022·4 min read