Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## calhoun.analysis.crf
Interface LocalPathSimilarityScore

All Known Implementing Classes:
  SimScoreMaxStateAgreement, SimScoreMinCodingMiscallsSV13, SimScoreMinExonBoundaryMiscallsSV13, SimScoreStateAndExonBoundariesInt13

    public interface LocalPathSimilarityScore

interface for local scoring functions used by the local score gradient functions. The alternate objective functions that use a local similarity score to calculate use this interface to access the local scoring functions.

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.

Method Detail

### evaluate

    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.

  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD