hyperparameters: Retrieve estimated model hyperparameters

hyperparametersR Documentation

Retrieve estimated model hyperparameters

Description

Get or set the estimates for the model hyperparameters α and β. These are used in smoothing the document-topic and topic-word matrices respectively.

Usage

hyperparameters(m)

Arguments

m

a mallet_model object

Value

a list with two elements, alpha (a vector, with one value per topic), and beta (a single number)


agoldst/dfrtopics documentation built on July 15, 2022, 4:13 p.m.