struct.alg
Class THJAUpdator

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

public class THJAUpdator
extends java.lang.Object
implements OnlineUpdator

THJAUpdator.

Version:
08/15/2006

Field Summary
private  java.util.ArrayList distances
           
private  int K
           
private  java.util.ArrayList margins
           
 
Constructor Summary
THJAUpdator()
           
 
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
 

Field Detail

K

private int K

distances

private java.util.ArrayList distances

margins

private java.util.ArrayList margins
Constructor Detail

THJAUpdator

public THJAUpdator()
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.