1
$\begingroup$

I am trying to put a number to the distance of a sequence and how close it is to the original training corpus.

From the original training data, I got a markov transition matrix (TM).

So from the sequence I am trying to evaluate, I have all the transition probabilities.

I could calculate a new TM from the generated sequence (though much sparser), and for each element calculate the euclidian distance. I can calulate this in -log probs perhaps instead of probabilities, to be able to add them.

Would there be another approach to evalute how much the new sequences looks like the training data/model?

$\endgroup$
1
  • $\begingroup$ Would something like Kullback–Leibler divergence be appropriate? $\endgroup$
    – dorien
    Commented May 6, 2014 at 13:48

1 Answer 1

1
$\begingroup$

A distance between two statistical models can be calculated with Kullack-Leiber divergence (at least over the rows of the transition matrix). One could also use Euclidian distance between each element, see Herremans et al, 2014.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.