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
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "Normalize". | string | |
name | The name of this instance of the module. | string | |
type | The type of normalization | choices: range euclidean cityblock max | range |
Module Connections
Inputs
Name | Description |
---|---|
INPUT | The input |
Outputs
Name | Description |
---|---|
OUTPUT | The output |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Normalize.h
Normalize.cc
Normalize.ikc