|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jmaxent.Option
public class Option
The Class Option.
Field Summary | |
---|---|
int |
cpRareThreshold
The cp rare threshold. |
int |
debugLevel
The debug level. |
double |
epsForConvergence
The eps for convergence. |
boolean |
evaluateDuringTraining
The evaluate during training. |
int |
fRareThreshold
The rare threshold. |
double |
initLambdaVal
The init lambda val. |
boolean |
isLogging
The is logging. |
static java.lang.String |
labelSeparator
The label separator. |
int |
mForHessian
The m for hessian. |
java.lang.String |
modelDir
The model dir. |
java.lang.String |
modelFile
The model file. |
static java.lang.String |
modelSeparator
The model separator. |
int |
numCps
The num cps. |
int |
numFeatures
The num features. |
int |
numIterations
The num iterations. |
int |
numLabels
The num labels. |
int |
numTestExps
The num test exps. |
int |
numTrainExps
The num train exps. |
java.lang.String |
optionFile
The option file. |
boolean |
saveBestModel
The save best model. |
double |
sigmaSquare
The sigma square. |
java.lang.String |
testDataFile
The test data file. |
java.lang.String |
trainDataFile
The train data file. |
java.lang.String |
trainLogFile
The train log file. |
Constructor Summary | |
---|---|
Option()
Instantiates a new option. |
|
Option(java.lang.String modelDir)
Instantiates a new option. |
Method Summary | |
---|---|
java.io.PrintWriter |
createModelFile()
Creates the model file. |
java.io.BufferedReader |
openModelFile()
Open model file. |
java.io.PrintWriter |
openTrainLogFile()
Open train log file. |
boolean |
readOptions()
Read options. |
void |
writeOptions(java.io.PrintWriter fout)
Write options. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String modelDir
public java.lang.String modelFile
public static java.lang.String modelSeparator
public java.lang.String optionFile
public java.lang.String trainDataFile
public java.lang.String testDataFile
public static java.lang.String labelSeparator
public java.lang.String trainLogFile
public boolean isLogging
public int numTrainExps
public int numTestExps
public int numLabels
public int numCps
public int numFeatures
public int cpRareThreshold
public int fRareThreshold
public int numIterations
public double initLambdaVal
public double sigmaSquare
public double epsForConvergence
public int mForHessian
public int debugLevel
public boolean evaluateDuringTraining
public boolean saveBestModel
Constructor Detail |
---|
public Option()
public Option(java.lang.String modelDir)
modelDir
- the model dirMethod Detail |
---|
public boolean readOptions()
public java.io.PrintWriter openTrainLogFile()
public java.io.BufferedReader openModelFile()
public java.io.PrintWriter createModelFile()
public void writeOptions(java.io.PrintWriter fout)
fout
- the fout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |