public class ReVerbOpenNlpClassifierTrainer extends Object
ReVerbFeatures. Given a set of
LabeledBinaryExtraction instances, this class featurizes them
and trains a logistic regression classifier using Weka's
Logistic class.
This class can be called from the command-line to train a classifier and save
the resulting model to a file.| Constructor and Description |
|---|
ReVerbOpenNlpClassifierTrainer(Iterable<LabeledBinaryExtraction> examples)
Constructs and trains a new Logistic classifier using the given examples.
|
public ReVerbOpenNlpClassifierTrainer(Iterable<LabeledBinaryExtraction> examples) throws Exception
examples - ExceptionCopyright © 2010-2013 University of Washington CSE. All Rights Reserved.