| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--ostore.oil.HMM.Delta
A HMM.Delta object contains a diff of the sufficient
 statistics for an HMM.
| Field Summary | |
|---|---|
 Matrix | 
emissions
Estimated count of state-output emissions.  | 
 Array | 
marginals
Estimated marginal counts for each state.  | 
 QSVector | 
states
The set of states referenced in the sufficient statistics.  | 
 Matrix | 
transitions
Estimated count of state-state transitions.  | 
| Constructor Summary | |
|---|---|
HMM.Delta(InputBuffer buffer)
Constructs a Delta from its
 serialized form. | 
|
HMM.Delta(QSVector states,
          Array marginals,
          Matrix transitions,
          Matrix emissions)
Constructs a Delta with the specified
 HMM data.   | 
|
| Method Summary | |
|---|---|
 void | 
serialize(OutputBuffer buffer)
Add the object to the buffer. | 
 Model.Delta | 
sum(Model.Delta other)
Produce the sum of this and another Delta. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public QSVector states
public Array marginals
public Matrix transitions
public Matrix emissions
| Constructor Detail | 
public HMM.Delta(QSVector states,
                 Array marginals,
                 Matrix transitions,
                 Matrix emissions)
Delta with the specified
 HMM data.  The statistics should only contain
 entries for the specified states.
states - The set of states contained in this
 			Deltamarginals - A QuickSerializable->double
 mapping from states to their marginal sufficient statistic.transitions - A QuickSerializable->Array
 mapping from states to their transition sufficient statistics.emissions - A QuickSerializable->Array
 mapping from states to their emission sufficient statistics.
public HMM.Delta(InputBuffer buffer)
          throws QSException
Delta from its
 serialized form.
| Method Detail | 
public Model.Delta sum(Model.Delta other)
Model.DeltaDelta.
sum in interface Model.Deltaother - The other Delta.
Delta, constructed such that applying
 it to a Model produces an equivalent
 Model to that produced by adding first
 this, then other.public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializablebuffer - the output buffer to add the object to
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||