|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iitb.CRF.CrfParams
This class holds all parameters to control various aspects of the CRF model
Field Summary | |
int |
debugLvl
|
boolean |
doScaling
|
double |
epsForConvergence
Convergence criteria for finding optimum lambda using BFGS |
double |
initValue
initial value for all the lambda arrays |
double |
invSigmaSquare
penalty term for likelihood function is ||lambda||^2*invSigmaSquare/2 set this to zero, if no penalty needed |
int |
maxIters
Maximum number of iterations over the training data during training |
int |
mForHessian
The number of corrections used in the BFGS update. |
java.lang.String |
trainerType
|
Constructor Summary | |
CrfParams()
constructor with default values as follows. |
|
CrfParams(java.util.Properties opts)
|
|
CrfParams(java.lang.String args)
Initialize any parameter using space separated list of name value pairs Example: "initValue 0.1 maxIters 20" will set the initValue param to 0.1 and maxIters param to 20. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double initValue
public double invSigmaSquare
public int maxIters
public double epsForConvergence
public int mForHessian
public java.lang.String trainerType
public int debugLvl
public boolean doScaling
Constructor Detail |
public CrfParams()
public CrfParams(java.lang.String args)
public CrfParams(java.util.Properties opts)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |