|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.ksu.cis.bnj.bbn.learning.Learner
edu.ksu.cis.bnj.bbn.learning.ScoreBasedLearner
Score-based learning classes
| Field Summary | |
protected LearnerScore |
candidateScorer
|
static int |
defaultParentLimit
|
protected int |
parentLimit
Set the upper bound on parent limits. |
protected LearnerScore |
structureScorer
|
| Fields inherited from class edu.ksu.cis.bnj.bbn.learning.Learner |
bbnNodes, calculateCPT, data, indexTable, learnerClassName, OPT_CALCULATE_RMSE, options |
| Fields inherited from interface edu.ksu.cis.kdd.util.gui.Optionable |
OPT_OUTPUT_FILE |
| Constructor Summary | |
ScoreBasedLearner()
|
|
ScoreBasedLearner(Data t)
Constructor for ScoreBasedLearning. |
|
ScoreBasedLearner(Data t,
LearnerScore s)
Constructor for ScoreBasedLearning. |
|
ScoreBasedLearner(Data t,
LearnerScore s,
LearnerScore s2)
Constructor for ScoreBasedLearning. |
|
| Method Summary | |
protected void |
computeCPT(BBNGraph g)
|
int |
getParentLimit()
|
protected void |
iterateUniqueInstantiation(int depth,
int[] nodes,
int[] valInts,
java.util.Hashtable curQuery)
Iterate through unique instantiation of children given parents. |
void |
setCandidateScorer(LearnerScore scorer)
Sets the candidate scorer. |
void |
setParentLimit(int parentLimit)
Sets the parentLimit. |
void |
setStructureScorer(LearnerScore structureScorer)
Sets the structure scorer. |
void |
setTable(Table tuples)
|
| Methods inherited from class edu.ksu.cis.bnj.bbn.learning.Learner |
getCalculateRMSE, getCurrentOptions, getData, getDefaultOptions, getGraph, getName, getOptionsDialog, getOutputFile, initialize, isCalculateCPT, load, populateNodes, processParameters, setCalculateCPT, setCalculateRMSE, setData, setOption, setOptions, setOutputFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int defaultParentLimit
protected LearnerScore candidateScorer
protected LearnerScore structureScorer
protected int parentLimit
| Constructor Detail |
public ScoreBasedLearner()
public ScoreBasedLearner(Data t)
t -
public ScoreBasedLearner(Data t,
LearnerScore s)
t -
public ScoreBasedLearner(Data t,
LearnerScore s,
LearnerScore s2)
t - | Method Detail |
public void setCandidateScorer(LearnerScore scorer)
public void setStructureScorer(LearnerScore structureScorer)
structureScorer - The structureScorer to setpublic void setTable(Table tuples)
public int getParentLimit()
public void setParentLimit(int parentLimit)
parentLimit - The parentLimit to setprotected void computeCPT(BBNGraph g)
protected void iterateUniqueInstantiation(int depth,
int[] nodes,
int[] valInts,
java.util.Hashtable curQuery)
Iterate through unique instantiation of children given parents. To invoke: iterateUniqueInstantiation(nodeList, new Hashtable(), tallyer);
nodes - List of BBNNodes being iterated. The last one must be child node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||