Perplexity is a measurement of how well a probability
distribution or probability model predicts a sample. This functions computes
the perplexity of the prediction by linlk{predict.madlib.lda}
Usage
# S3 method for lda.madlib
perplexity(object, predict_output_table, ...)