public class SoftCluster extends Kluster
Parametered.ParameteredGeneralizationsCLUSTERS_DIR, FINAL_ITERATION_SUFFIX, INITIAL_CLUSTERS_DIRlog| Constructor and Description |
|---|
SoftCluster() |
SoftCluster(Vector center,
int clusterId,
DistanceMeasure measure)
Construct a new SoftCluster with the given point as its center
|
| Modifier and Type | Method and Description |
|---|---|
String |
asFormatString() |
String |
getIdentifier() |
double |
pdf(VectorWritable vw)
Return the probability that the observation is described by this model
|
calculateConvergence, computeConvergence, formatCluster, isConverged, readFields, setConverged, toString, writeconfigure, getMeasure, sampleFromPosterior, setMeasureasFormatString, asJson, computeCentroid, computeParameters, createParameters, formatVector, formatVectorAsJson, getCenter, getId, getNumObservations, getParameters, getRadius, getS0, getS1, getS2, getTotalObservations, observe, observe, observe, observe, observe, setCenter, setId, setNumObservations, setRadius, setS0, setS1, setS2, setTotalObservationspublic SoftCluster()
public SoftCluster(Vector center, int clusterId, DistanceMeasure measure)
center - the center pointmeasure - the DistanceMeasurepublic String asFormatString()
asFormatString in class Klusterpublic String getIdentifier()
getIdentifier in class Klusterpublic double pdf(VectorWritable vw)
Modelpdf in interface Model<VectorWritable>pdf in class DistanceMeasureClustervw - an Observation from the posteriorCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.