factorie/factorie — pull request #195 by dirkweissenborn (2014-07-07 12:51:29+00:00)
Title: partial cleaning of module directed; new CollapsedGibbsSamplerHandler

* new handler for collapsed gibbs sampler (for discrete values), which substitutes earlier special handlers
* removal of Categorical Factors, because they can all be represented by Discrete Factors using DiscreteVar as child and/or parent type
* resolves issue #178
* Introduces new traits that help during sampling: SeqGeneratingFactor, SeqAsParentFactor
* candidate selection for special cases can be done with new Mixin traits: (Plated)SelectedCandidatesCollapsedGibbsSamplerHandler
* small tests were conducted by training LDA a simple LDA model