edu.umass.cs.mallet.projects.seg_plus_coref.coreference
Class SGDLearner

java.lang.Object
  extended byedu.umass.cs.mallet.projects.seg_plus_coref.coreference.SGDLearner

public class SGDLearner
extends java.lang.Object


Constructor Summary
SGDLearner(double decayRate, int numEpochs, Pipe p, java.util.Collection keyPart)
           
 
Method Summary
protected  DenseVector getDenseVectorOf(int ri, Matrix2 matrix)
           
 java.util.Collection test(InstanceList testPairs, java.util.List tMentions)
           
 void train(InstanceList instPairs, java.util.List mentions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SGDLearner

public SGDLearner(double decayRate,
                  int numEpochs,
                  Pipe p,
                  java.util.Collection keyPart)
Method Detail

test

public java.util.Collection test(InstanceList testPairs,
                                 java.util.List tMentions)

train

public void train(InstanceList instPairs,
                  java.util.List mentions)

getDenseVectorOf

protected DenseVector getDenseVectorOf(int ri,
                                       Matrix2 matrix)