00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 1999-2009 Soeren Sonnenburg 00008 * Written (W) 1999-2008 Gunnar Raetsch 00009 * Written (W) 2011 Heiko Strathmann 00010 * Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society 00011 */ 00012 00013 #ifndef _REAL_LABELS__H__ 00014 #define _REAL_LABELS__H__ 00015 00016 #include <shogun/lib/common.h> 00017 #include <shogun/io/File.h> 00018 #include <shogun/labels/LabelTypes.h> 00019 #include <shogun/labels/DenseLabels.h> 00020 #include <shogun/features/SubsetStack.h> 00021 00022 namespace shogun 00023 { 00024 class CFile; 00025 class CRegressionLabels; 00026 class CDenseLabels; 00027 00034 class CRegressionLabels : public CDenseLabels 00035 { 00036 public: 00038 CRegressionLabels(); 00039 00044 CRegressionLabels(int32_t num_labels); 00045 00050 CRegressionLabels(const SGVector<float64_t> src); 00051 00056 CRegressionLabels(CFile* loader); 00057 00062 static CRegressionLabels* obtain_from_generic(CLabels* base_labels); 00063 00068 virtual ELabelType get_label_type(); 00069 00071 virtual const char* get_name() const { return "RegressionLabels"; } 00072 }; 00073 } 00074 #endif