JSMILE Learning: GreedyThickThinning

From DSL

Jump to: navigation, search

This class implements the GreedyThickThinning structure learning algorithm.

[edit] Inner Classes

  • PriorsType

This class holds the names of prior methods: K2, BDeu.


[edit] Methods

  • int getMaxParents()

void setMaxParents(int max)

The maximum number of parents (default = 5).


  • double getNetWeight()

void setNetWeight(double weight)

For BDeu priors it defines the weight assigned to the uniform priors (default = 1.0).


  • int getPriorsMethod()

void setPriorsMethod(int method)

Sets the priors method to use (default = K2). Use PriorType inner class.


  • BkKnowledge getBkKnowledge()

void setBkKnowledge(BkKnowledge bkk)

The background knowledge.


  • Network learn(DataSet data)

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

Personal tools