public class RNNOptions
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int[][] |
APPROXIMATE_EQUIVALENCE_CLASSES |
static int[][] |
BINARY_APPROXIMATE_EQUIVALENCE_CLASSES |
static java.lang.String[] |
BINARY_DEFAULT_CLASS_NAMES |
java.lang.String[] |
classNames |
boolean |
combineClassification
If this option is true, then the binary and unary classification
matrices are combined.
|
static java.lang.String[] |
DEFAULT_CLASS_NAMES |
static java.lang.String[] |
DEFAULT_EQUIVALENCE_CLASS_NAMES |
int[][] |
equivalenceClasses
The following option represents classes which can be treated as
equivalent when scoring.
|
java.lang.String[] |
equivalenceClassNames |
TreebankLanguagePack |
langpack |
boolean |
lowercaseWordVectors |
int |
numClasses
Number of classes to build the RNN for
|
int |
numHid
Size of vectors to use.
|
int |
randomSeed
The random seed the random number generator is initialized with.
|
boolean |
randomWordVectors
By default, initialize random word vectors instead of reading
from a file
|
boolean |
simplifiedModel
No syntactic untying - use the same matrix/tensor for all categories.
|
RNNTestOptions |
testOptions |
RNNTrainOptions |
trainOptions |
java.lang.String |
unkWord
In the wordVectors file, what word represents unknown?
|
boolean |
useTensors |
java.lang.String |
wordVectors
Filename for the word vectors
|
Constructor and Description |
---|
RNNOptions() |
Modifier and Type | Method and Description |
---|---|
int |
setOption(java.lang.String[] args,
int argIndex) |
java.lang.String |
toString() |
public int randomSeed
public java.lang.String wordVectors
public java.lang.String unkWord
public boolean randomWordVectors
public int numHid
public int numClasses
public boolean lowercaseWordVectors
public boolean useTensors
public TreebankLanguagePack langpack
public boolean simplifiedModel
public boolean combineClassification
public RNNTrainOptions trainOptions
public static final java.lang.String[] DEFAULT_CLASS_NAMES
public static final java.lang.String[] BINARY_DEFAULT_CLASS_NAMES
public java.lang.String[] classNames
public static final int[][] APPROXIMATE_EQUIVALENCE_CLASSES
public static final int[][] BINARY_APPROXIMATE_EQUIVALENCE_CLASSES
public int[][] equivalenceClasses
public static final java.lang.String[] DEFAULT_EQUIVALENCE_CLASS_NAMES
public java.lang.String[] equivalenceClassNames
public RNNTestOptions testOptions