cc.mallet.classify.tui
Class Vectors2FeatureConstraints
java.lang.Object
cc.mallet.classify.tui.Vectors2FeatureConstraints
public class Vectors2FeatureConstraints
- extends java.lang.Object
Create "feature constraints" from data for use in GE training.
- Author:
- Gregory Druck gdruck@cs.umass.edu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vectorsFile
public static CommandOption.File vectorsFile
constraintsFile
public static CommandOption.File constraintsFile
featuresFile
public static CommandOption.File featuresFile
ldaFile
public static CommandOption.File ldaFile
numConstraints
public static CommandOption.Integer numConstraints
featureSelection
public static CommandOption.String featureSelection
targets
public static CommandOption.String targets
majorityProb
public static CommandOption.Double majorityProb
Vectors2FeatureConstraints
public Vectors2FeatureConstraints()
main
public static void main(java.lang.String[] args)
readFeaturesAndLabelsFromFile
public static java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>> readFeaturesAndLabelsFromFile(java.io.File file,
Alphabet dataAlphabet,
Alphabet targetAlphabet)