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

NameDescriptionTypeDefault
classThe class name for the module; must be "LinearAssociator".string
nameThe name of this instance of the module.string
modeThe learning modechoices:
gradient_descent
LMS
gradient_descent
alphaThe learning ratefloat0.1
betaThe momentum ratefloat0.0
memory_maxMaximum number of stored training samplesint1
memory_trainingNumber of times to train on each memorized sampleint1

Module Connections

Inputs

NameDescription
LEARNINGThe learning rate
INPUTThe input
T-INPUTThe training input
T-OUTPUTThe training target input

Outputs

NameDescription
OUTPUTThe output
MATRIXThe association matrix
ERRORThe error for the last training sample.
CONFIDENCE1-ERROR

Author

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

Files

LinearAssociator.h
LinearAssociator.cc
LinearAssociator.ikc

blog comments powered by Disqus