#include <Cell_base_classes.h>
|
static const double & | a () |
|
static const double & | b () |
|
semantics::Context_cell_base::Context_cell_base |
( |
| ) |
|
|
inlineprotected |
const double & semantics::Context_cell_base::a |
( |
| ) |
|
|
static |
double semantics::Context_cell_base::alpha |
( |
| ) |
const |
|
inline |
get the Dirichlet Process concentration parameter for this context
const double & semantics::Context_cell_base::b |
( |
| ) |
|
|
static |
virtual void semantics::Context_cell_base::decrement_diversity |
( |
| ) |
|
|
inlinevirtual |
decrement the number of distinct outcomes from this context
int semantics::Context_cell_base::diversity |
( |
| ) |
const |
|
inline |
get number of distinct outcomes in this context
double semantics::Context_cell_base::effective_observations |
( |
| ) |
const |
|
inline |
total mass for distribution over dish for a new customer
corresponds to alpha + n(H)
double semantics::Context_cell_base::effective_tables |
( |
| ) |
const |
|
inline |
total mass for distribution over the "dish" for a new table
corresponds to alpha + m(H)
virtual void semantics::Context_cell_base::increment_diversity |
( |
| ) |
|
|
inlinevirtual |
increment the number of distinct outcomes from this context
double semantics::Context_cell_base::observation_backoff_weight |
( |
| ) |
const |
|
inline |
probability that a new customer will sit at a new table
corresponds to mixture weight (alpha / (n + alpha))
void semantics::Context_cell_base::resample_alpha |
( |
| ) |
|
resample alpha value from conditional posterior
double semantics::Context_cell_base::table_backoff_weight |
( |
| ) |
const |
|
inline |
probability that a new table will draw from the level above this
corresponds to mixture weight (alpha / (m + alpha))
The documentation for this class was generated from the following files: