12 using namespace shogun;
36 SG_ERROR(
"Non-valid MulticlassMultipleOutputLabels in %s", context)
47 for (int32_t j=0; j<n_outputs; j++)
55 ensure_valid(
"CMulticlassMultipleOutputLabels::get_label(int32_t)");
57 SG_ERROR(
"Index must be inside [0, num_labels-1]\n")
80 void CMulticlassMultipleOutputLabels::init()
SGMatrix< index_t > get_labels() const
The class Labels models labels, i.e. class assignments of objects.
virtual int32_t get_num_labels() const
SGVector< index_t > get_label(int32_t idx)
CSubsetStack * m_subset_stack
CMulticlassMultipleOutputLabels()
SGVector< index_t > * m_labels
index_t subset_idx_conversion(index_t idx) const
bool set_label(int32_t idx, SGVector< index_t > label)
virtual ~CMulticlassMultipleOutputLabels()
virtual void ensure_valid(const char *context=NULL)