JSMILE Learning: EM

From DSL
Jump to: navigation, search

This class implements the EM parameter learning algorithm for discrete variables.

Methods

  • int getEqSampleSize()

void setEqSampleSize(int size)

The equivalent sample size (defaults to 0).


  • boolean getRandomizeParameters()

void setRandomizeParameters(boolean value)

Indicates if the parameters will be randomized when the eqSampleSize is equal to 0 (defaults to true).


  • void learn(DataSet data, Network net)

Uses the data set to learn the parameters in the network. This method can throw a SmileException.

Personal tools