28 REQUIRE(min_index<max_index,
"min index should be less than max index")
79 for (int32_t i=0; i<subtask_indices.
vlen; i++)
91 SG_ERROR(
"Subtask contains indices that are not contained in this task\n")
class Task used to represent tasks in multitask learning. Essentially it represent a set of feature v...
Class SGObject is the base class of all shogun objects.
void add_subtask(CTask *sub_task)
SGVector< index_t > get_indices() const
int32_t get_num_elements()
SGVector< index_t > m_indices
int32_t get_num_subtasks()
all of classes and functions are contained in the shogun namespace
bool append_element(CSGObject *data)
Class List implements a doubly connected list for low-level-objects.