|
jBNC Toolbox | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjbnc.util.FrequencyTable
Description of the Class
| Field Summary | |
protected jbnc.util.FrequencyNode[] |
frequencyNodes
|
protected int |
nbCases
|
| Constructor Summary | |
FrequencyTable(BayesianNetworks.BayesNet net)
Constructor for the FrequencyTable object |
|
| Method Summary | |
void |
addCase(int[] aCase)
Adds a feature to the Case attribute of the FrequencyTable object |
int |
getN(int i,
int j)
Gets the N attribute of the FrequencyTable object |
int |
getN(int i,
int j,
int k)
Gets the N attribute of the FrequencyTable object |
int |
getNbCases()
Gets the NbCases attribute of the FrequencyTable object |
void |
learnNetParam(BayesianNetworks.BayesNet net,
boolean usePriors,
double alphaK)
Description of the Method |
void |
removeAllCases()
Description of the Method |
void |
removeCase(int[] aCase)
Description of the Method |
void |
setCases(java.util.Vector cases)
Sets the Cases attribute of the FrequencyTable object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int nbCases
protected jbnc.util.FrequencyNode[] frequencyNodes
| Constructor Detail |
public FrequencyTable(BayesianNetworks.BayesNet net)
net - Description of Parameter| Method Detail |
public void setCases(java.util.Vector cases)
cases - The new Cases value
public int getN(int i,
int j,
int k)
i - Description of Parameterj - Description of Parameterk - Description of Parameter
public int getN(int i,
int j)
i - Description of Parameterj - Description of Parameter
public int getNbCases()
public void addCase(int[] aCase)
aCase - The feature to be added to the Case attribute
public void removeCase(int[] aCase)
throws java.lang.Exception
aCase - Description of Parameter
java.lang.Exception - Description of Exceptionpublic void removeAllCases()
public void learnNetParam(BayesianNetworks.BayesNet net,
boolean usePriors,
double alphaK)
throws java.lang.Exception
net - Description of ParameterusePriors - Description of ParameteralphaK - Description of Parameter
java.lang.Exception - Description of Exception
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||