Avinash Ravichandran
 
 

Home > distances > normalizeKernel.m

normalizeKernel


PURPOSE

Normalize Kernel between [0 1]

SYNOPSIS

function kNorm = normalizeKernel(K)

 

DESCRIPTION

 Normalize Kernel between [0 1]

 This function normalizes a  kernel such that the values between 0 and 1.
 The normalization is done such that Kn(i,J) = K(i,j)/sqrt(K(i,i).K(j,j))

 INPUTS
   K       - Kernel matrix

 OUTPUTS
   kNorm   - normalized kernel matrix

 EXAMPLE
   Kn = normalizeKernel(K);

% Written by : Avinash Ravichandran and Rizwan Chaudhry
% $DATE      : 27-Jul-2011 12:08:26 $
% $REVISION  : 1.00 $

 

CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

  • calculateMetricLDS This is the main distance computing function. Use either default metric