30 CLabels* shallow_copy_labels=NULL;
33 SG_REF(shallow_copy_labels);
35 ((
CDenseLabels*) shallow_copy_labels)->set_labels(shallow_copy_vector);
39 return shallow_copy_labels;
SGVector< index_t > get_subset_idx() const
SGVector< float64_t > m_labels
The class Labels models labels, i.e. class assignments of objects.
real valued labels (e.g. for regression, classifier outputs)
CSubsetStack * m_subset_stack
CSubset * get_last_subset() const
A File access base class.
virtual void add_subset(SGVector< index_t > subset)
all of classes and functions are contained in the shogun namespace
virtual bool has_subsets() const
virtual CLabels * shallow_subset_copy()
virtual ELabelType get_label_type() const
Dense integer or floating point labels.
void set_labels(SGVector< float64_t > v)