public class RNNOptions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int[][] |
APPROXIMATE_EQUIVALENCE_CLASSES |
static int[][] |
BINARY_APPROXIMATE_EQUIVALENCE_CLASSES |
static String[] |
BINARY_DEFAULT_CLASS_NAMES |
String[] |
classNames |
boolean |
combineClassification
If this option is true, then the binary and unary classification
matrices are combined.
|
static String[] |
DEFAULT_CLASS_NAMES |
static String[] |
DEFAULT_EQUIVALENCE_CLASS_NAMES |
int[][] |
equivalenceClasses
The following option represents classes which can be treated as
equivalent when scoring.
|
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 |
String |
unkWord
In the wordVectors file, what word represents unknown?
|
boolean |
useTensors |
String |
wordVectors
Filename for the word vectors
|
Constructor and Description |
---|
RNNOptions() |
public int randomSeed
public String wordVectors
public 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 String[] DEFAULT_CLASS_NAMES
public static final String[] BINARY_DEFAULT_CLASS_NAMES
public String[] classNames
public static final int[][] APPROXIMATE_EQUIVALENCE_CLASSES
public static final int[][] BINARY_APPROXIMATE_EQUIVALENCE_CLASSES
public int[][] equivalenceClasses
public static final String[] DEFAULT_EQUIVALENCE_CLASS_NAMES
public String[] equivalenceClassNames
public RNNTestOptions testOptions