Package 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
-
-
Field Summary
Fields Modifier and Type Field Description static CommandOption.File
constraintsFile
static CommandOption.String
featureSelection
static CommandOption.File
featuresFile
static CommandOption.File
ldaFile
static CommandOption.Double
majorityProb
static CommandOption.Integer
numConstraints
static CommandOption.String
targets
static CommandOption.File
vectorsFile
-
Constructor Summary
Constructors Constructor Description Vectors2FeatureConstraints()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static java.util.HashMap<java.lang.Integer,java.util.ArrayList<java.lang.Integer>>
readFeaturesAndLabelsFromFile(java.io.File file, Alphabet dataAlphabet, Alphabet targetAlphabet)
-
-
-
Field Detail
-
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
-
-