ECOCOVOEncoder.h

Go to the documentation of this file.
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) 2012 Chiyuan Zhang
00008  * Copyright (C) 2012 Chiyuan Zhang
00009  */
00010 
00011 #ifndef ECOCOVOENCODER_H__
00012 #define ECOCOVOENCODER_H__
00013 
00014 #include <shogun/multiclass/ecoc/ECOCEncoder.h>
00015 
00016 namespace shogun
00017 {
00018 
00020 class CECOCOVOEncoder: public CECOCEncoder
00021 {
00022 public:
00024     CECOCOVOEncoder() {}
00025 
00027     virtual ~CECOCOVOEncoder() {}
00028 
00030     virtual const char* get_name() const
00031     {
00032         return "ECOCOVOEncoder";
00033     }
00034 
00038     virtual SGMatrix<int32_t> create_codebook(int32_t num_classes);
00039 };
00040 
00041 }
00042 
00043 #endif /* end of include guard: ECOCOVOENCODER_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation