LinearAssociator
Module that learns a linear mapping from INPUT to OUTPUT based on training samples
in T-INPUT and T-OUTPUT. The module can operate in two different modes:
Example XML definition
A simple example
<module class = "LinearAssociator" name = "LinearAssociator" alpha = "0.1" />
Parameters
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "LinearAssociator". | string | |
name | The name of this instance of the module. | string | |
mode | The learning mode | choices: gradient_descent LMS | gradient_descent |
alpha | The learning rate | float | 0.1 |
beta | The momentum rate | float | 0.0 |
memory_max | Maximum number of stored training samples | int | 1 |
memory_training | Number of times to train on each memorized sample | int | 1 |
Module Connections
Inputs
Name | Description |
---|---|
LEARNING | The learning rate |
INPUT | The input |
T-INPUT | The training input |
T-OUTPUT | The training target input |
Outputs
Name | Description |
---|---|
OUTPUT | The output |
MATRIX | The association matrix |
ERROR | The error for the last training sample. |
CONFIDENCE | 1-ERROR |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
LinearAssociator.h
LinearAssociator.cc
LinearAssociator.ikc