|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.AbstractCluster
org.apache.mahout.clustering.dirichlet.models.GaussianCluster
public class GaussianCluster
Field Summary |
---|
Fields inherited from interface org.apache.mahout.clustering.Cluster |
---|
CLUSTERED_POINTS_DIR, CLUSTERS_DIR, INITIAL_CLUSTERS_DIR |
Constructor Summary | |
---|---|
GaussianCluster()
|
|
GaussianCluster(Vector point,
int id2)
|
|
GaussianCluster(Vector center,
Vector radius,
int id)
|
Method Summary | |
---|---|
java.lang.String |
getIdentifier()
|
double |
pdf(VectorWritable vw)
Return the probability that the observation is described by this model |
Model<VectorWritable> |
sampleFromPosterior()
|
Methods inherited from class org.apache.mahout.clustering.AbstractCluster |
---|
asFormatString, asJsonString, computeCentroid, computeParameters, count, formatVector, getCenter, getId, getNumPoints, getObservations, getRadius, getS0, getS1, getS2, observe, observe, observe, observe, readFields, setCenter, setId, setNumPoints, setRadius, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussianCluster()
public GaussianCluster(Vector point, int id2)
public GaussianCluster(Vector center, Vector radius, int id)
Method Detail |
---|
public java.lang.String getIdentifier()
getIdentifier
in class AbstractCluster
public Model<VectorWritable> sampleFromPosterior()
public double pdf(VectorWritable vw)
Model
vw
- an Observation from the posterior
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |