Trainer

The Trainer module reads one or two data sets and use them to train a learning module. The data can be used either sequentially or be read out in random order. Half or all of the data in the input set can be used for validation. Alternatively, the validation comes from a separate source.

Example XML definition

Trainer

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

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Trainer".string
nameThe name of this instance of the module.string
orderOrder in which to present datachoices:
random
sequential
crossvalidationWhich data should be used for crossvalidation?choices:
none
all
even
odd
input

Module Connections

Inputs

NameDescription
TRAINING_DATA_XTraining data set X-values
TRAINING_DATA_YTraining data set Y-values
TESTING_DATA_XTesting data set X-values
TESTING_DATA_YTesting data set Y-values
TEST_YOutput generated by the learning module

Outputs

NameDescription
TRAIN_XData to send to the training input of the learning module
TRAIN_YData to send as target output of the learning module
TEST_XData to send to the input of the learning module
ERRORThe current validation error

Author

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

Files

Trainer.h
Trainer.cc
Trainer.ikc

blog comments powered by Disqus