org.apache.mahout.clustering.dirichlet.models
Class DistributionDescription
java.lang.Object
org.apache.mahout.clustering.dirichlet.models.DistributionDescription
public final class DistributionDescription
- extends Object
Simply describes parameters needs to create a ModelDistribution
.
DistributionDescription
public DistributionDescription(String modelFactory,
String modelPrototype,
String distanceMeasure,
int prototypeSize)
getModelFactory
public String getModelFactory()
getModelPrototype
public String getModelPrototype()
getDistanceMeasure
public String getDistanceMeasure()
getPrototypeSize
public int getPrototypeSize()
createModelDistribution
public ModelDistribution<VectorWritable> createModelDistribution()
- Create an instance of AbstractVectorModelDistribution from the given command line arguments
toString
public String toString()
- Overrides:
toString
in class Object
fromString
public static DistributionDescription fromString(CharSequence s)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.