Code covered by the BSD License  

Highlights from
Fast Kernel Density Estimator (Multivariate)

image thumbnail

Fast Kernel Density Estimator (Multivariate)


Matej Kristan


09 Apr 2013 (Updated )

A very fast multivariate bandwidth calculation for KDE that can even be calculated from a GMM.

sqdist(centrs, point, precision)
function d = sqdist(centrs, point, precision)

dA = bsxfun(@minus, centrs, point)' ; 
A = dA * precision ;
d = sum(A.*dA,2)' ;

Contact us