edu.ucla.stat.SOCR.util
Class Mixture
java.lang.Object
edu.ucla.stat.SOCR.util.Mixture
public abstract class Mixture
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxkp
public static final int maxkp
- See Also:
- Constant Field Values
typegauss
public final int typegauss
- See Also:
- Constant Field Values
typeuniform
public final int typeuniform
- See Also:
- Constant Field Values
typecurvedgauss
public final int typecurvedgauss
- See Also:
- Constant Field Values
typescaleshift
public final int typescaleshift
- See Also:
- Constant Field Values
typeline
public final int typeline
- See Also:
- Constant Field Values
kernel
public java.lang.Object[] kernel
type
public int[] type
xsiz
public int xsiz
ysiz
public int ysiz
db
public Database db
Mixture
public Mixture(int xSize,
int ySize,
Database DB)
initKernel
public void initKernel(java.lang.Object mod,
int tp,
int pos)
setnk
public void setnk(int nK)
getnk
public int getnk()
setnk
public void setnk(int nK,
double[] ws)
randomKernels
public void randomKernels(double[] ws)
getKernel
public java.lang.Object getKernel(int kernel_index)
randomKernels
public void randomKernels()
paint
public void paint(java.awt.Graphics g)
getKernelColor
public java.awt.Color getKernelColor(int i)
EM
public void EM(double[] ws)
EMmain
public void EMmain(double[] ws)
likelihood
public double likelihood()