GHMM.h

Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of the GNU General Public License as published by
00004  * the Free Software Foundation; either version 3 of the License, or
00005  * (at your option) any later version.
00006  *
00007  * Written (W) 1999-2009 Soeren Sonnenburg
00008  * Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society
00009  */
00010 
00011 #ifndef _CGHMM_H___
00012 #define _CGHMM_H___
00013 
00014 #include <shogun/mathematics/Math.h>
00015 #include <shogun/features/Features.h>
00016 #include <shogun/distributions/Distribution.h>
00017 
00018 namespace shogun
00019 {
00022 class CGHMM : public CDistribution
00023 {
00024     public:
00026         CGHMM();
00027         virtual ~CGHMM();
00028 
00037         virtual bool train(CFeatures* data=NULL);
00038 
00043         virtual int32_t get_num_model_parameters();
00044 
00050         virtual float64_t get_log_model_parameter(int32_t param_num);
00051 
00058         virtual float64_t get_log_derivative(int32_t param_num, int32_t num_example);
00059 
00065         virtual float64_t get_log_likelihood_example(int32_t num_example);
00066 
00072     virtual const char* get_name(void) const { return "GHMM"; }
00073 };
00074 }
00075 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation