calhoun.analysis.crf.scoring
Class SimScoreMinCodingMiscallsSV13

java.lang.Object
  extended by calhoun.analysis.crf.scoring.SimScoreMinCodingMiscallsSV13
All Implemented Interfaces:
LocalPathSimilarityScore

public class SimScoreMinCodingMiscallsSV13
extends java.lang.Object
implements LocalPathSimilarityScore


Constructor Summary
SimScoreMinCodingMiscallsSV13()
           
 
Method Summary
 double evaluate(int yprev, int y, TrainingSequence<?> seq, int pos)
          compute a real-valued score between a given path and the true path at a given position.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimScoreMinCodingMiscallsSV13

public SimScoreMinCodingMiscallsSV13()
Method Detail

evaluate

public double evaluate(int yprev,
                       int y,
                       TrainingSequence<?> seq,
                       int pos)
Description copied from interface: LocalPathSimilarityScore
compute a real-valued score between a given path and the true path at a given position.

Specified by:
evaluate in interface LocalPathSimilarityScore
Parameters:
yprev - the hidden state at the previous position in this path
y - the hidden state at the current position in this path
seq - the training sequence containing the input and the true path
pos - the position at which the score is to be calculated
Returns:
the similarity score computed at this position for this path