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

java.lang.Object
  extended by org.apache.mahout.clustering.dirichlet.models.VectorModelDistribution
All Implemented Interfaces:
ModelDistribution<VectorWritable>
Direct Known Subclasses:
AsymmetricSampledNormalDistribution, L1ModelDistribution, NormalModelDistribution

public abstract class VectorModelDistribution
extends java.lang.Object
implements ModelDistribution<VectorWritable>


Constructor Summary
protected VectorModelDistribution()
           
protected VectorModelDistribution(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.dirichlet.models.ModelDistribution
sampleFromPosterior, sampleFromPrior
 

Constructor Detail

VectorModelDistribution

protected VectorModelDistribution()

VectorModelDistribution

protected VectorModelDistribution(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-2010 The Apache Software Foundation. All Rights Reserved.