|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputHandler
handles outputting of results from predictions.
| Method Summary | |
|---|---|
void |
outputComplete()
indicates the writing of output is complete. |
void |
setOutputLocation(java.lang.String location)
sets the output location to write to. |
void |
writeOutput(InputSequence<?> sequence,
int[] hiddenStates)
Writes out a set of predicted hidden states. |
void |
writeTestOutput(InputSequence<?> sequence,
int[] truePath,
int[] hiddenStates)
Writes out a set of hidden states compared with a known true path. |
| Method Detail |
|---|
void setOutputLocation(java.lang.String location)
location - the location to write the data to. The meaning is implementation dependent.
void writeOutput(InputSequence<?> sequence,
int[] hiddenStates)
throws java.io.IOException
setOutputLocation(java.lang.String)
sequence - the input sequence on which predictions were madehiddenStates - an array of state indices for the predicted hidden states.
java.io.IOException
void writeTestOutput(InputSequence<?> sequence,
int[] truePath,
int[] hiddenStates)
throws java.io.IOException
setOutputLocation(java.lang.String)
sequence - the input sequence on which predictions were madetruePath - an array of hidden states representing the true path.hiddenStates - an array of state indices for the predicted hidden states.
java.io.IOException
void outputComplete()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||