netkit.inference
Class GibbsSampling

java.lang.Object
  extended by netkit.inference.InferenceMethod
      extended by netkit.inference.GibbsSampling
All Implemented Interfaces:
Configurable

public class GibbsSampling
extends InferenceMethod


Field Summary
protected  int[][] chains
           
 
Fields inherited from class netkit.inference.InferenceMethod
currPrior, idMatrix, initialPrior, numIterations, tmpPredict, unknown
 
Constructor Summary
GibbsSampling()
           
 
Method Summary
 void configure(Configuration config)
           
 Estimate getCurrentEstimate()
           
 Configuration getDefaultConfiguration()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getShortName()
           
 boolean iterate(NetworkClassifier networkClassifier)
           
 void reset(java.util.Iterator<Node> unknowns)
           
 
Methods inherited from class netkit.inference.InferenceMethod
addListener, classify, classify, clearListeners, estimate, estimate, getCurrentAccuracy, getCurrentTrainingLOOAccuracy, getInitialPrior, getNofifyListeners, getNumIterations, notifyListeners, notifyListeners, notifyListeners, removeListener, savePredictions, savePredictionsInPajek, setInitialPrior, setNofityListeners, setNumIterations, setShowIterationAccuracies, setTruth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chains

protected int[][] chains
Constructor Detail

GibbsSampling

public GibbsSampling()
Method Detail

getShortName

public java.lang.String getShortName()
Specified by:
getShortName in class InferenceMethod

getName

public java.lang.String getName()
Specified by:
getName in class InferenceMethod

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class InferenceMethod

getDefaultConfiguration

public Configuration getDefaultConfiguration()
Specified by:
getDefaultConfiguration in interface Configurable
Overrides:
getDefaultConfiguration in class InferenceMethod

configure

public void configure(Configuration config)
Specified by:
configure in interface Configurable
Overrides:
configure in class InferenceMethod

reset

public void reset(java.util.Iterator<Node> unknowns)
Overrides:
reset in class InferenceMethod

getCurrentEstimate

public Estimate getCurrentEstimate()
Overrides:
getCurrentEstimate in class InferenceMethod

iterate

public boolean iterate(NetworkClassifier networkClassifier)
Specified by:
iterate in class InferenceMethod