mixture model training added; EM for mixture model added

- EM for mixture model
- mixture model training
- unittest for mixture model with gaussian distributions 
Umm.. I convinced myself this way that since mixture model is solved using
only EM we might have methods to control em parameters in the mixture model
class itself. I am not rigid about it and would gladly accept suggestions.
If it makes a bit of a difference i can change the method name to
set_training_parameters which can be used to set num iterations and epsilon
On 7 Aug 2014 02:15, "Fernando Iglesias" <notifications@github.com> wrote:

> In src/shogun/distributions/MixtureModel.h:
>
> > @@ -129,7 +130,31 @@ class CMixtureModel : public CDistribution
> >  		 * @param index index of component
> >  		 * @return component at index
> >  		 */
> > -		CDistribution* get_component(index_t index) const;		
> > +		CDistribution* get_component(index_t index) const;
> > +
> > +		/** set max iterations in EM
>
> I am not sure about this design. I think these methods could be better in
> another part. This is something we can discuss.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/shogun-toolbox/shogun/pull/2448/files#r15921158>.
>