mulan.classifier.neural
Interface ModelUpdateRule

All Known Implementing Classes:
MMPMaxUpdateRule, MMPRandomizedUpdateRule, MMPUniformUpdateRule, MMPUpdateRuleBase

public interface ModelUpdateRule

Represents an update rule, which can be used by a learner, to process an input example in learning phase and perform an update of a model when necessary.

Version:
2012.02.27
Author:
Jozef Vilcek

Method Summary
 double process(DataPair example, Map<String,Object> params)
          Process the training example and performs a model update when suitable.
 

Method Detail

process

double process(DataPair example,
               Map<String,Object> params)
Process the training example and performs a model update when suitable. The decision when to perform model update is carried by the update rule (e.g. when the model response is not within an acceptable boundaries from the true output for given example).

Parameters:
example - the input example
params - the additional parameters for an update.
Returns:
the error measure of the model response for given input pattern and specified true output.