edu.ksu.cis.bnj.bbn.learning.analysis
Class Robustness
java.lang.Object
edu.ksu.cis.bnj.bbn.analysis.Analyzer
edu.ksu.cis.bnj.bbn.learning.analysis.Robustness
- public class Robustness
- extends Analyzer
Robustness analysis for structure learner.
- Author:
- Roby Joehanes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
base
protected Learner base
tuples
protected Data tuples
bootstrapSamples
protected int bootstrapSamples
subsample
protected int subsample
result
protected java.util.LinkedHashMap result
Robustness
public Robustness(Learner b)
Robustness
public Robustness(Learner b,
int it,
int s)
getResult
public java.lang.Object getResult()
- Get the robustness result. The return type should be HashMap
but let's generalize for the moment since testing framework is
not yet available.
- Returns:
- Object
dump
public void dump(java.io.OutputStream out)
- Specified by:
dump
in class Analyzer
getBaseLearner
public Learner getBaseLearner()
- Returns:
- Learning
setBaseLearner
public void setBaseLearner(Learner base)
- Sets the base learner.
- Parameters:
base
- The base to set
getBootstrapSamples
public int getBootstrapSamples()
- Returns:
- int
getSubSample
public int getSubSample()
- Returns:
- int
setBootstrapSamples
public void setBootstrapSamples(int iteration)
- Sets the iteration.
- Parameters:
iteration
- The iteration to set
setSubSample
public void setSubSample(int subsample)
- Sets the subsample.
- Parameters:
subsample
- The subsample to set
main
public static void main(java.lang.String[] args)