jml.sequence
Class CRFModel

java.lang.Object
  extended by jml.sequence.CRFModel
All Implemented Interfaces:
java.io.Serializable

 class CRFModel
extends java.lang.Object
implements java.io.Serializable

HMM model parameters.

Version:
1.0, Feb. 15th, 2013
Author:
Mingjie Qian

Field Summary
(package private)  int d
          Number of parameters or number of features
(package private)  int numStates
          Number of states in the state space.
private static long serialVersionUID
           
(package private)  int startIdx
          Index for the start state in the state space.
(package private)  org.apache.commons.math.linear.RealMatrix W
          d x 1 parameter vector.
 
Constructor Summary
CRFModel(int numStates, int startIdx, org.apache.commons.math.linear.RealMatrix W)
          Constructor for a CRF model.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

numStates

int numStates
Number of states in the state space.


startIdx

int startIdx
Index for the start state in the state space.


d

int d
Number of parameters or number of features


W

org.apache.commons.math.linear.RealMatrix W
d x 1 parameter vector.

Constructor Detail

CRFModel

public CRFModel(int numStates,
                int startIdx,
                org.apache.commons.math.linear.RealMatrix W)
Constructor for a CRF model.

Parameters:
numStates - number of states in the state space
startIdx - index for the start state in the state space
W - parameter vector