struct.alg
Class PerceptronUpdator

java.lang.Object
  extended by struct.alg.PerceptronUpdator
All Implemented Interfaces:
OnlineUpdator

public class PerceptronUpdator
extends java.lang.Object
implements OnlineUpdator

The perceptron updator.

Version:
08/15/2006

Constructor Summary
PerceptronUpdator()
           
 
Method Summary
 void update(SLInstance inst, Features feats, Predictor predictor, double avg_upd)
          Updates the predictor based on the instance and its features.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerceptronUpdator

public PerceptronUpdator()
Method Detail

update

public void update(SLInstance inst,
                   Features feats,
                   Predictor predictor,
                   double avg_upd)
Description copied from interface: OnlineUpdator
Updates the predictor based on the instance and its features.

Specified by:
update in interface OnlineUpdator


Copyright (C) 2006 University of Pennsylvania.