CFEngine API

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

Field Summary
(package private)  float denominator
           
(package private)  float lastProb
           
(package private)  float lastX
           
(package private)  float mean
           
(package private)  float probMissing
           
(package private)  float sd
           
 
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
 

Field Detail

mean

float mean

sd

float sd

probMissing

float probMissing

denominator

float denominator

lastX

float lastX

lastProb

float lastProb
Constructor Detail

BinGaussian

public BinGaussian(float mean,
                   float sd,
                   float probMissing)
Construct an empty binGuassian.

Method Detail

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

CFEngine API

Copyright © 2003 - Oregon State University www.orst.edu