PRTools contents

PRTools manual

disnorm

DISNORM

Normalization of a dissimilarity matrix

    V = DISNORM(D,OPT)
    F = E*V

Input
 D NxN dissimilarity matrix or dataset, which sets the norm
 E Matrix to be normalized, e.g. D itself
 OPT 'max' : maximum dissimilarity is set to 1 by global rescaling  'mean': average dissimilarity is set to 1 by global rescaling (default)

Output
 V Fixed mapping
 F Normalized dissimilarity data
  DEFAULT OPT = 'mean'

Description

Operation on dissimilarity matrices, like the computation of classifiers  in dissimilarity space, may depend on the scaling of the dissimilarities  (a single scalar for the entire matrix). This routine computes a scaling  for a giving matrix, e.g. a training set and applies it to other  matrices, e.g. the same training set or based on a test set.

PRTools contents

PRTools manual