perplexity.lda {PivotalR} | R Documentation |
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}
## S3 method for class 'lda.madlib' perplexity(object, predict_output_table, ...)
object |
The result of |
predict_output_table |
The result of |
... |
Arguments passed to or from other methods, not implemented yet. |
A numeric value that indicates the perplexity of the LDA prediction.
Author: Predictive Analytics Team at Pivotal Inc.
Maintainer: Frank McQuillan, Pivotal Inc. fmcquillan@pivotal.io
madlib.lda
builds a topic model using a set of documents.
## Not run: ## Please see the examples in madlib.lda doc. ## End(Not run)