54 virtual const char*
get_name()
const {
return "EMBase"; }
80 log_likelihood_prev=log_likelihood_cur;
83 if ((i>0)&&(log_likelihood_cur-log_likelihood_prev)<
epsilon)
This is the base class for Expectation Maximization (EM). EM for various purposes can be derived from...
virtual const char * get_name() const
virtual float64_t expectation_step()=0
static const float64_t epsilon
Class SGObject is the base class of all shogun objects.
all of classes and functions are contained in the shogun namespace
bool iterate_em(int32_t max_iters=10000, float64_t epsilon=1e-8)
virtual void maximization_step()=0