|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.knowceans.arms.ArmSampler org.knowceans.arms.GmmArms
public class GmmArms
GmmArms simulates a normal mixture. This reimplements the ARMS example 02.
Nested Class Summary | |
---|---|
class |
GmmArms.GmmParams
|
Nested classes/interfaces inherited from class org.knowceans.arms.ArmSampler |
---|
ArmSampler.Envelope, ArmSampler.Metropolis, ArmSampler.Point |
Field Summary |
---|
Fields inherited from class org.knowceans.arms.ArmSampler |
---|
DEREF, EYEPS, params, XEPS, YCEIL, YEPS |
Constructor Summary | |
---|---|
GmmArms()
|
Method Summary | |
---|---|
double |
logpdf(double x,
java.lang.Object params)
log of Gaussian mixture pdf. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class org.knowceans.arms.ArmSampler |
---|
area, arms, armsSimple, cumulate, expshift, initial, invert, logshift, meet, perfunc, sample, test, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GmmArms()
Method Detail |
---|
public double logpdf(double x, java.lang.Object params)
logpdf
in class ArmSampler
x
- double[][]{{mean},
- {sigma}, {pi}}
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |