11 using namespace shogun;
15 ASSERT(base_labels != NULL)
17 return static_cast<CBinaryLabels*>(base_labels);
19 SG_SERROR(
"base_labels must be of dynamic type CBinaryLabels")
26 ASSERT(base_labels != NULL)
28 return static_cast<CLatentLabels*>(base_labels);
30 SG_SERROR(
"base_labels must be of dynamic type CLatentLabels\n")
37 ASSERT(base_labels != NULL)
39 return static_cast<CMulticlassLabels*>(base_labels);
41 SG_SERROR(
"base_labels must be of dynamic type CMulticlassLabels\n")
48 ASSERT(base_labels != NULL)
50 return static_cast<CRegressionLabels*>(base_labels);
52 SG_SERROR(
"base_labels must be of dynamic type CRegressionLabels")
59 ASSERT(base_labels != NULL)
61 return static_cast<CStructuredLabels*>(base_labels);
63 SG_SERROR(
"base_labels must be of dynamic type CStructuredLabels\n")
71 ASSERT(base_labels != NULL)
73 return static_cast<CMulticlassMultipleOutputLabels*>(base_labels);
75 SG_SERROR(
"base_labels must be of dynamic type CMulticlassMultipleOutputLabels\n")
82 ASSERT(base_labels != NULL)
85 SG_SERROR(
"base_labels must be of dynamic type CMulticlassMultipleOutputLabels\n")