edu.ucla.stat.SOCR.chart.util
Class Mixture
java.lang.Object
edu.ucla.stat.SOCR.chart.util.Mixture
- Direct Known Subclasses:
- CurvedGaussMixture, GaussLineMixture
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 double xsiz
ysiz
public double ysiz
db
public Database db
Mixture
public Mixture(double xSize,
double ySize,
Database DB)
initKernel
public void initKernel(java.lang.Object mod,
int tp,
int pos)
setManualKernels
public void setManualKernels(boolean b)
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()
getKernelColor
public java.awt.Paint getKernelColor(int i)
setKernelColor
public void setKernelColor(int i,
java.awt.Paint c)
EM
public void EM(double[] ws)
EMmain
public void EMmain(double[] ws)
likelihood
public double likelihood()