org.recommender.algorithms.Experimental
Class BinGaussian
java.lang.Object
|
+--org.recommender.algorithms.Experimental.BinGaussian
- public class BinGaussian
- extends java.lang.Object
Represents a tag for a binGuassian probability distribution, and
its contents.
- Author:
- Daniel Lowd
Constructor Summary |
BinGaussian(float mean,
float sd,
float probMissing)
Construct an empty binGuassian. |
Method Summary |
float |
getMean()
|
float |
getProb(float x)
|
float |
getSD()
|
java.lang.String |
toString()
Generate an XML representation of this binGaussian distribution,
left-justified. |
java.lang.String |
toString(int numIndents)
Generate an XML representation of this binGaussian distribution,
with each line preceded by the specified number of tabs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mean
float mean
sd
float sd
probMissing
float probMissing
denominator
float denominator
lastX
float lastX
lastProb
float lastProb
BinGaussian
public BinGaussian(float mean,
float sd,
float probMissing)
- Construct an empty binGuassian.
getMean
public float getMean()
getSD
public float getSD()
getProb
public float getProb(float x)
toString
public java.lang.String toString(int numIndents)
- Generate an XML representation of this binGaussian distribution,
with each line preceded by the specified number of tabs.
toString
public java.lang.String toString()
- Generate an XML representation of this binGaussian distribution,
left-justified.
- Overrides:
toString
in class java.lang.Object
Copyright © 2003 - Oregon State University www.orst.edu