Learn R Programming

ldatuning (version 1.0.2)

Griffiths2004: Griffiths2004

Description

Implement scoring algorithm. In order to use this algorithm, the LDA model MUST be generated using the keep control parameter >0 (defaults to 50) so that the logLiks vector is retained.

Usage

Griffiths2004(models, control)

Arguments

models

An object of class "LDA

control

A named list of the control parameters for estimation or an object of class "'>LDAcontrol".

Value

A scalar LDA model score