Code covered by the BSD License  

Highlights from
Fast Kernel Density Estimator (Multivariate)

image thumbnail

Fast Kernel Density Estimator (Multivariate)

by

 

09 Apr 2013 (Updated )

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

applyForScaleTransformToPdf( pdf0, Mu, T )
function pdf0 = applyForScaleTransformToPdf( pdf0, Mu, T )
 
pdf0.Mu = bsxfun(@minus, pdf0.Mu, Mu) ;
pdf0.Mu = T * pdf0.Mu ;

for i = 1 : length(pdf0.w)   
    pdf0.Cov{i} = T*pdf0.Cov{i}*T' ;    
end

Contact us