org.apache.mahout.clustering.dirichlet.models
Class AbstractVectorModelDistribution

java.lang.Object
  extended by org.apache.mahout.clustering.dirichlet.models.AbstractVectorModelDistribution
All Implemented Interfaces:
ModelDistribution<VectorWritable>
Direct Known Subclasses:
DistanceMeasureClusterDistribution, GaussianClusterDistribution

public abstract class AbstractVectorModelDistribution
extends Object
implements ModelDistribution<VectorWritable>


Constructor Summary
protected AbstractVectorModelDistribution()
           
protected AbstractVectorModelDistribution(VectorWritable modelPrototype)
           
 
Method Summary
 VectorWritable getModelPrototype()
           
 void setModelPrototype(VectorWritable modelPrototype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.mahout.clustering.ModelDistribution
sampleFromPosterior, sampleFromPrior
 

Constructor Detail

AbstractVectorModelDistribution

protected AbstractVectorModelDistribution()

AbstractVectorModelDistribution

protected AbstractVectorModelDistribution(VectorWritable modelPrototype)
Method Detail

getModelPrototype

public VectorWritable getModelPrototype()
Returns:
the modelPrototype

setModelPrototype

public void setModelPrototype(VectorWritable modelPrototype)
Parameters:
modelPrototype - the modelPrototype to set


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.