JSMILE Learning: TAN

From DSL
Jump to: navigation, search

This class implements a Tree Augmented Naive Bayes learning algorithm.


Methods

  • Network learn(DataSet data)

Returns the learned network. This method can throw a SmileException.


  • String getClassVariableId()

void setClassVariable(String cls)

Sets/gets the variable class id. The class id must match one of the identifiers in the dataset used for learning


  • void setMaxSearchTime(int searchTimeInSeconds);

int getMaxSearchTime();

Sets/gets the maximum time (seconds) sent in search phase. The default of zero means no limit.


  • void setRandSeed(int seed);

int getRandSeed();

Sets/gets the random seed used by internal pseudorandom number generator. The default is zero, which means that actual seed is picked from system time.

Personal tools