Skip to content
  • About Me
  • Contact
  • Publications

The NonConditional Beast

Thoughts on Machine Learning, Computer Vision, Robotics and other randomness.

GAN Zombies

Solutions to Exercises in Statistical Learning

How to print colored or bolded strings in Matlab

C++ Pipeline for Learning Fisher Vectors Using VLFeat

Category: Math

Math

The Rayleigh Quotient and the Norm Constraint

January 12, 2016January 20, 2020 by Martin

This post will try to explain why in the optimization of the Rayleigh Quotient one constrains the norm of $$x$$ to be …

Math

On the Trick for Computing the Squared Euclidean Distances Between Two Sets of Vectors

April 23, 2014May 13, 2020 by Martin

Many times one wants to compute the squared pairwise Euclidean distances between two sets of observations. As always it is enlightening to …

Machine Learning Math Statistics Uncategorized

Understanding the Metropolis Hasting algorithm – A tutorial

October 24, 2013June 6, 2016 by Martin

The Problem Say you want to evaluate the expectation of a function over a random variable $$E[f(x)] = \int p(x)f(x)dx$$, or perhaps …

Machine Learning Math Statistics

A short tutorial on Kernel Density Estimation (KDE)

July 29, 2013January 14, 2016 by Martin

The aim of Kernel Density Estimation(KDE) is: Given a set of $$N$$ samples from a random variable, $$\mathbf{X}$$, possibly multivariate and continuous, …

Machine Learning Math Science

Partially fixing numerical underflow for mixture models

March 28, 2013March 22, 2014 by Martin

In a mixture model the probability of an event $$x$$ is written $$P(x=X) =\sum_{i}\pi_{i}P_{i}(x=X) $$, where $$\pi_{i}$$ is the probability of the …

Math Matlab

The Trace Trick for Gaussian Log Likelihood

June 6, 2012August 23, 2013 by admin

Maybe you have seen something like this when observing the log likelihood derivations for multivariate Gaussians $$ \ln p(X|\mu, \Sigma) = \frac{1}{2}\ln|\Sigma|- …

Math Matlab

Calculating the indices for n choose k

April 17, 2012June 6, 2012 by admin

So if you want to calculate n choose k, or n over k or all k different combinations of n unique items …

Copyright © 2025 The NonConditional Beast - All Rights Reserved

Designed by ZThemes Studio