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

java.lang.Object
  extended by org.apache.mahout.clustering.dirichlet.models.DistributionDescription

public final class DistributionDescription
extends Object

Simply describes parameters needs to create a ModelDistribution.


Constructor Summary
DistributionDescription(String modelFactory, String modelPrototype, String distanceMeasure, int prototypeSize)
           
 
Method Summary
 ModelDistribution<VectorWritable> createModelDistribution()
          Create an instance of AbstractVectorModelDistribution from the given command line arguments
static DistributionDescription fromString(CharSequence s)
           
 String getDistanceMeasure()
           
 String getModelFactory()
           
 String getModelPrototype()
           
 int getPrototypeSize()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionDescription

public DistributionDescription(String modelFactory,
                               String modelPrototype,
                               String distanceMeasure,
                               int prototypeSize)
Method Detail

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.