34 SG_ADD(&
m_free_km,
"free_km",
"Whether kernel matrix should be freed in " 41 new SGParamInfo(
"free_km", CT_SCALAR, ST_NONE, PT_BOOL, 1),
47 new SGParamInfo(
"row_subset_stack", CT_SCALAR, ST_NONE, PT_SGOBJECT, 1),
53 new SGParamInfo(
"col_subset_stack", CT_SCALAR, ST_NONE, PT_SGOBJECT, 1),
86 SG_DEBUG(
"Entering CCustomKernel::CCustomKernel(SGMatrix<float64_t>)\n")
89 SG_DEBUG(
"Leaving CCustomKernel::CCustomKernel(SGMatrix<float64_t>)\n")
95 SG_DEBUG(
"Entering CCustomKernel::CCustomKernel(SGMatrix<float64_t>)\n")
98 SG_DEBUG(
"Leaving CCustomKernel::CCustomKernel(SGMatrix<float64_t>)\n")
103 SG_DEBUG(
"Entering CCustomKernel::~CCustomKernel()\n")
107 SG_DEBUG(
"Leaving CCustomKernel::~CCustomKernel()\n")
136 SG_DEBUG(
"Entering CCustomKernel::cleanup_custom()\n")
143 SG_DEBUG(
"Leaving CCustomKernel::cleanup_custom()\n")
Class that holds informations about a certain parameter of an CSGObject. Contains name...
ParameterMap * m_parameter_map
virtual void add_row_subset(SGVector< index_t > subset)
SGMatrix< float32_t > kmatrix
int32_t num_rhs
number of feature vectors on right hand side
The Custom Kernel allows for custom user provided kernel matrices.
SGMatrix< float32_t > get_float32_kernel_matrix()
CSubsetStack * m_col_subset_stack
virtual bool has_subsets() const
virtual int32_t get_num_vectors() const =0
void put(const SGParamInfo *key, const SGParamInfo *value)
virtual void remove_all_row_subsets()
SGMatrix< float64_t > get_kernel_matrix()
class to add subset support to another class. A CSubsetStackStack instance should be added and wrappe...
virtual void remove_col_subset()
virtual void remove_row_subset()
virtual void add_col_subset(SGVector< index_t > subset)
virtual void add_subset(SGVector< index_t > subset)
Class SGObject is the base class of all shogun objects.
virtual void row_subset_changed_post()
virtual void remove_all_subsets()
int32_t num_lhs
number of feature vectors on left hand side
virtual bool dummy_init(int32_t rows, int32_t cols)
virtual void remove_all_col_subsets()
virtual bool init_normalizer()
CFeatures * rhs
feature vectors to occur on right hand side
The class DummyFeatures implements features that only know the number of feature objects (but don't a...
all of classes and functions are contained in the shogun namespace
virtual EKernelType get_kernel_type()=0
bool set_full_kernel_matrix_from_full(SGMatrix< float32_t > full_kernel_matrix)
CFeatures * lhs
feature vectors to occur on left hand side
The class Features is the base class of all feature objects.
virtual void col_subset_changed_post()
virtual void remove_subset()
CSubsetStack * m_row_subset_stack