|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.flow.container.AbstractContainer
adams.flow.container.WekaClusteringContainer
public class WekaClusteringContainer
A container for clusterings made by a clusterer.
| Field Summary | |
|---|---|
static String |
VALUE_CLUSTER
the identifier for the Cluster. |
static String |
VALUE_DISTRIBUTION
the identifier for the Distribution. |
static String |
VALUE_INSTANCE
the identifier for the Instance. |
static String |
VALUE_LOGDENSITY
the identifier for the LogDensity. |
static String |
VALUE_LOGDENSITYPERCLUSTER
the identifier for the LogDensityPerCluster. |
static String |
VALUE_LOGJOINTDENSITIES
the identifier for the LogJointDensities. |
| Fields inherited from class adams.flow.container.AbstractContainer |
|---|
m_AdditionalNames, m_Values |
| Constructor Summary | |
|---|---|
WekaClusteringContainer()
Initializes the container. |
|
WekaClusteringContainer(weka.core.Instance inst,
int cluster,
double[] dist)
Initializes the container. |
|
WekaClusteringContainer(weka.core.Instance inst,
int cluster,
double[] dist,
double logDensity,
double[] logDensityPerCluster,
double[] logJointDensities)
Initializes the container. |
|
| Method Summary | |
|---|---|
boolean |
isValid()
Checks whether the setup of the container is valid. |
Enumeration<String> |
names()
Returns all value names that can be used (theoretically). |
| Methods inherited from class adams.flow.container.AbstractContainer |
|---|
addAdditionalName, checkDefaultConstructor, getClone, getValue, hasValue, isValidName, removeAdditionalName, setValue, store, stored, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String VALUE_INSTANCE
public static final String VALUE_CLUSTER
public static final String VALUE_DISTRIBUTION
public static final String VALUE_LOGDENSITY
public static final String VALUE_LOGDENSITYPERCLUSTER
public static final String VALUE_LOGJOINTDENSITIES
| Constructor Detail |
|---|
public WekaClusteringContainer()
public WekaClusteringContainer(weka.core.Instance inst,
int cluster,
double[] dist)
inst - the instance that was used for predictiondist - the cluster distributioncluster - the chosen cluster
public WekaClusteringContainer(weka.core.Instance inst,
int cluster,
double[] dist,
double logDensity,
double[] logDensityPerCluster,
double[] logJointDensities)
inst - the instance that was used for predictioncluster - the chosen clusterdist - the cluster distributionlogDensity - the log densitylogDensityPerCluster - the log density per clusterlogJointDensities - the log joint densities| Method Detail |
|---|
public Enumeration<String> names()
names in class AbstractContainerpublic boolean isValid()
isValid in class AbstractContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||