|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knowceans.arms.ArmSampler
org.knowceans.dirichlet.sandbox.InvGammaArms
public class InvGammaArms
InvGammaArms implements the inverse of a vague Ga(1,1) as described as the hyperparameter distribution of component mixing proportions for the infinite GMM by Rasmussen (2000).
| Field Summary |
|---|
| Fields inherited from class org.knowceans.arms.ArmSampler |
|---|
DEREF, EYEPS, XEPS, YCEIL, YEPS |
| Constructor Summary | |
|---|---|
InvGammaArms()
|
|
| Method Summary | |
|---|---|
double |
logpdf(double alpha,
java.lang.Object params)
Implements the posterior distribution to p(alpha^-1) ~ Ga(1,1). |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class org.knowceans.arms.ArmSampler |
|---|
arms, armsSimple |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvGammaArms()
| Method Detail |
|---|
public double logpdf(double alpha,
java.lang.Object params)
logpdf in class ArmSampleralpha - params - int[]{number of observations, dimensionality of dirichlet}
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||