12 #ifndef _CTOPFEATURES__H__ 13 #define _CTOPFEATURES__H__ 15 #include <shogun/lib/config.h> 22 template <
class T>
class CDenseFeatures;
25 #ifndef DOXYGEN_SHOULD_SKIP_THIS 51 #endif // DOXYGEN_SHOULD_SKIP_THIS 119 virtual const char*
get_name()
const {
return "TOPFeatures"; }
130 int32_t num, int32_t& len,
float64_t* target=NULL);
T_HMM_INDIZES pos_relevant_indizes
virtual float64_t * set_feature_matrix()
void set_models(CHMM *p, CHMM *n)
T_HMM_INDIZES neg_relevant_indizes
virtual float64_t * compute_feature_vector(int32_t num, int32_t &len, float64_t *target=NULL)
virtual const char * get_name() const
The class TOPFeatures implements TOP kernel features obtained from two Hidden Markov models...
The class DenseFeatures implements dense feature matrices.
all of classes and functions are contained in the shogun namespace
bool compute_relevant_indizes(CHMM *hmm, T_HMM_INDIZES *hmm_idx)
int32_t compute_num_features()