gclda.utils.weight_priors¶
-
gclda.utils.weight_priors(topic_priors, prior_weight)[source]¶ Combine topic priors with prior weight.
Parameters: - topic_priors : array-like
The prior weights for topics (n_topics-long array). Scale may be arbitrary, as the array will be normalized.
- prior_weight :
float Scalar by which to weight priors.