sampler Namespace Reference

Functions

topic_t sample (const topicCounts *currentTypeTopicCounts, topic_t old_topic, const atomic< topic_t > *tokens_per_topic, const topic_t *local_topic_counts, const topic_t *local_topic_index, const int &non_zero_topics, const double &smoothingOnlyMass, const double &topicBetaMass, const double *cachedCoefficients, const double &betaSum, const double *alpha, double *topic_term_scores, const topic_t &numTopics, variate_generator< base_generator_type &, boost::uniform_real<> > *unif01)

Function Documentation

topic_t sampler::sample ( const topicCounts currentTypeTopicCounts,
topic_t  old_topic,
const atomic< topic_t > *  tokens_per_topic,
const topic_t *  local_topic_counts,
const topic_t *  local_topic_index,
const int &  non_zero_topics,
const double &  smoothingOnlyMass,
const double &  topicBetaMass,
const double *  cachedCoefficients,
const double &  betaSum,
const double *  alpha,
double *  topic_term_scores,
const topic_t &  numTopics,
variate_generator< base_generator_type &, boost::uniform_real<> > *  unif01 
)
Generated on Tue Jul 19 11:45:30 2011 for Y!LDA by  doxygen 1.6.3