|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.dirichlet.models.NormalModel
org.apache.mahout.clustering.dirichlet.models.SampledNormalModel
public class SampledNormalModel
Constructor Summary | |
---|---|
SampledNormalModel()
|
|
SampledNormalModel(Vector mean,
double sd)
|
Method Summary | |
---|---|
java.lang.String |
asFormatString(java.lang.String[] bindings)
Produce a custom, printable representation of the receiver. |
NormalModel |
sample()
Return an instance with the same parameters |
java.lang.String |
toString()
|
Methods inherited from class org.apache.mahout.clustering.dirichlet.models.NormalModel |
---|
asJsonString, computeParameters, count, getMean, getStdDev, observe, pdf, readFields, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SampledNormalModel()
public SampledNormalModel(Vector mean, double sd)
Method Detail |
---|
public java.lang.String toString()
toString
in class NormalModel
public NormalModel sample()
sample
in class NormalModel
public java.lang.String asFormatString(java.lang.String[] bindings)
Printable
asFormatString
in interface Printable
asFormatString
in class NormalModel
bindings
- an optional String[] containing labels used to format the primary Vector/s of this
implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |