Normalize

Module that normalizes its input in various ways. With type 'range' it maps its input onto the interval [0..1] such that the minimal element becomes o and the maximal 1. With type 'euclidean' the input vector is divided by the eulidean norm and with 'cityblock' the input vector is divided by the cityblock norm of the input. Finally for the type 'max', each element is divided by the maximal element making it 1. The output will be 0 when the input vector consists of only zeros.

Example XML definition

Example

  <module
      class = "Normalize"
      name = "Normalize"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Normalize".string
nameThe name of this instance of the module.string
typeThe type of normalizationchoices:
range
euclidean
cityblock
max
range

Module Connections

Inputs

NameDescription
INPUTThe input

Outputs

NameDescription
OUTPUTThe output

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Normalize.h
Normalize.cc
Normalize.ikc

blog comments powered by Disqus