techniques.BN
Class Nets

java.lang.Object
  |
  +--techniques.BN.Nets

public class Nets
extends Object

Creates a number of different BayesNets


Constructor Summary
Nets()
           
 
Method Summary
static BayesNet getAlarm()
          Returns BayesNet as given by http://www.cs.huji.ac.il/labs/compbio/Repository/Datasets/alarm/alarm.htm
static BayesNet getBurglary()
          Returns BayesNet as given in figure 14.2, pg494 of AIMA (2nd Edition)
static BayesNet getCarpo()
          Returns BayesNet as given by http://www.cs.huji.ac.il/labs/compbio/Repository/Datasets/carpo/carpo.htm
static BayesNet getCarpoForGibbs()
          Returns BayesNet where nodes probability tables do not have 0 in net.
static BayesNet getInsurance()
          Returns BayesNet as given by http://www.cs.huji.ac.il/labs/compbio/Repository/Datasets/insurance/insurance.htm
static BayesNet getInsuranceForGibbs()
          Returns BayesNet where nodes probability tables do not have 0 in net.
static BayesNet removeZeros(BayesNet bn)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Nets

public Nets()
Method Detail

getBurglary

public static BayesNet getBurglary()
Returns BayesNet as given in figure 14.2, pg494 of AIMA (2nd Edition)

getAlarm

public static BayesNet getAlarm()
Returns BayesNet as given by http://www.cs.huji.ac.il/labs/compbio/Repository/Datasets/alarm/alarm.htm

getInsuranceForGibbs

public static BayesNet getInsuranceForGibbs()
Returns BayesNet where nodes probability tables do not have 0 in net. This net is the same as the result from getInsurance with all 0 being changed to 10^-6 and the row being renormalized. The removal of 0 are done to allow gibbs to run on the data.

getCarpoForGibbs

public static BayesNet getCarpoForGibbs()
Returns BayesNet where nodes probability tables do not have 0 in net. This net is the same as the result from getCarpo with all 0 being changed to 10^-6 and the row being renormalized. The removal of 0 are done to allow gibbs to run on the data.

getInsurance

public static BayesNet getInsurance()
Returns BayesNet as given by http://www.cs.huji.ac.il/labs/compbio/Repository/Datasets/insurance/insurance.htm

getCarpo

public static BayesNet getCarpo()
Returns BayesNet as given by http://www.cs.huji.ac.il/labs/compbio/Repository/Datasets/carpo/carpo.htm

removeZeros

public static BayesNet removeZeros(BayesNet bn)