Distance
Module that calculates the distance between its two input vectors or matrices using the euclidean or citiblock norm.
Example XML definition
Example
<module
class = "Distance"
name = "Distance"
/>
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| class | The class name for the module; must be "Distance". | string | |
| name | The name of this instance of the module. | string | |
| type | The type of normalization | list | euclidean |
Module Connections
Inputs
| Name | Description |
|---|---|
| INPUT1 | The first input |
| INPUT2 | The second input |
Outputs
| Name | Description |
|---|---|
| OUTPUT | The output with the distance between the two inputs |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Distance.h
Distance.cc
Distance.ikc