55 void CSplittingStrategy::init()
65 "Set of sets of subset indices");
80 SG_ERROR(
"Call %s::build_subsets() before accessing them! If this error"
81 " stays, its an implementation error of %s::build_subsets()\n",
104 SG_ERROR(
"Call %s::build_subsets() before accessing them! If this error"
105 " stays, its an implementation error of %s::build_subsets()\n",
virtual const char * get_name() const =0
index_t get_num_subsets() const
The class Labels models labels, i.e. class assignments of objects.
virtual int32_t get_num_labels() const =0
int32_t get_num_elements() const
Template Dynamic array class that creates an array that can be used like a list or an array...
void add(bool *param, const char *name, const char *description="")
Class SGObject is the base class of all shogun objects.
SGVector< index_t > generate_subset_inverse(index_t subset_idx)
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
all of classes and functions are contained in the shogun namespace
CSGObject * get_element_safe(int32_t index) const
CDynamicObjectArray * m_subset_indices
SGVector< index_t > generate_subset_indices(index_t subset_idx)
int32_t find_element(T e)
int32_t get_num_elements() const
virtual ~CSplittingStrategy()
bool append_element(CSGObject *e)