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

## org.encog.ml.hmm.alog
Class KullbackLeiblerDistanceCalculator

    java.lang.Object
      org.encog.ml.hmm.alog.KullbackLeiblerDistanceCalculator

    public class KullbackLeiblerDistanceCalculator

extends Object

This class produces a Kullback-Leibler estimation of the distance between two HMMs. This allows the similarity of two different HMM's to be evaluated. ^ Kullback, S.; Leibler, R.A. (1951). "On Information and Sufficiency". Annals of Mathematical Statistics 22 (1): 79-86. doi:10.1214/aoms/1177729694. MR39968.

Constructor Summary
`KullbackLeiblerDistanceCalculator()`

Method Summary
`double` | `distance(HiddenMarkovModel hmm1, HiddenMarkovModel hmm2)`
`int` | `getLen()`
`int` | `getSequenceCount()`
`void` | `setLen(int len)`
`void` | `setSequenceCount(int sequenceCount)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### KullbackLeiblerDistanceCalculator

    public KullbackLeiblerDistanceCalculator()

Method Detail

### distance

    public double distance(HiddenMarkovModel hmm1,
                           HiddenMarkovModel hmm2)

### getLen

    public int getLen()

### getSequenceCount

    public int getSequenceCount()

### setLen

    public void setLen(int len)

### setSequenceCount

    public void setSequenceCount(int sequenceCount)

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

Copyright © 2014. All Rights Reserved.