All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object
|
+----weka.clusterers.Clusterer
|
+----weka.clusterers.DistributionClusterer
|
+----weka.clusterers.EM
EM assigns a probability distribution to each instance which indicates the probability of it belonging to each of the clusters. EM can decide how many clusters to create by cross validation, or you may specify apriori how many clusters to generate.
Valid options are:
-V
Verbose.
-N
-I
-S
-M
Valid options are:
-V
-N
-I
-S
-M
-t training file [-T test file] [-N number of clusters] [-S random seed]
Specify the number of clusters to generate. If omitted,
EM will use cross validation to select the number of clusters
automatically.
Terminate after this many iterations if EM has not converged.
Specify random number seed.
Set the minimum allowable standard deviation for normal density calculation.
EM()
buildClusterer(Instances)
densityForInstance(Instance)
distributionForInstance(Instance)
getDebug()
getMaxIterations()
getMinStdDev()
getNumClusters()
getOptions()
getSeed()
globalInfo()
listOptions()
main(String[])
maxIterationsTipText()
minStdDevTipText()
numberOfClusters()
numClustersTipText()
seedTipText()
setDebug(boolean)
setMaxIterations(int)
setMinStdDev(double)
setNumClusters(int)
setOptions(String[])
setSeed(int)
toString()
EM
public EM()
globalInfo
public String globalInfo()
listOptions
public Enumeration listOptions()
Verbose.
Specify the number of clusters to generate. If omitted,
EM will use cross validation to select the number of clusters
automatically.
Terminate after this many iterations if EM has not converged.
Specify random number seed.
Set the minimum allowable standard deviation for normal density
calculation.
setOptions
public void setOptions(String options[]) throws Exception
minStdDevTipText
public String minStdDevTipText()
setMinStdDev
public void setMinStdDev(double m)
getMinStdDev
public double getMinStdDev()
seedTipText
public String seedTipText()
setSeed
public void setSeed(int s)
getSeed
public int getSeed()
numClustersTipText
public String numClustersTipText()
setNumClusters
public void setNumClusters(int n) throws Exception
getNumClusters
public int getNumClusters()
maxIterationsTipText
public String maxIterationsTipText()
setMaxIterations
public void setMaxIterations(int i) throws Exception
getMaxIterations
public int getMaxIterations()
setDebug
public void setDebug(boolean v)
getDebug
public boolean getDebug()
getOptions
public String[] getOptions()
toString
public String toString()
numberOfClusters
public int numberOfClusters() throws Exception
buildClusterer
public void buildClusterer(Instances data) throws Exception
densityForInstance
public double densityForInstance(Instance inst) throws Exception
distributionForInstance
public double[] distributionForInstance(Instance inst) throws Exception
main
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index WEKA's home