edu.umass.cs.mallet.projects.seg_plus_coref.coreference
Class SGDLearner
java.lang.Object
edu.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SGDLearner
public SGDLearner(double decayRate,
int numEpochs,
Pipe p,
java.util.Collection keyPart)
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)