|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.dirichlet.models.AbstractVectorModelDistribution
public abstract class AbstractVectorModelDistribution
Field Summary | |
---|---|
static java.lang.reflect.Type |
MODEL_DISTRIBUTION_TYPE
|
Constructor Summary | |
---|---|
protected |
AbstractVectorModelDistribution()
|
protected |
AbstractVectorModelDistribution(VectorWritable modelPrototype)
|
Method Summary | |
---|---|
java.lang.String |
asJsonString()
Return a JSON string representing the receiver. |
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 |
Field Detail |
---|
public static final java.lang.reflect.Type MODEL_DISTRIBUTION_TYPE
Constructor Detail |
---|
protected AbstractVectorModelDistribution()
protected AbstractVectorModelDistribution(VectorWritable modelPrototype)
Method Detail |
---|
public java.lang.String asJsonString()
ModelDistribution
asJsonString
in interface ModelDistribution<VectorWritable>
public VectorWritable getModelPrototype()
public void setModelPrototype(VectorWritable modelPrototype)
modelPrototype
- the modelPrototype to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |