SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
KernelStructuredOutputMachine.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 Fernando José Iglesias García
00008  * Copyright (C) 2012 Fernando José Iglesias García
00009  */
00010 
00011 #ifndef _KERNEL_STRUCTURED_OUTPUT_MACHINE__H__
00012 #define _KERNEL_STRUCTURED_OUTPUT_MACHINE__H__
00013 
00014 #include <shogun/machine/StructuredOutputMachine.h>
00015 #include <shogun/kernel/Kernel.h>
00016 
00017 namespace shogun
00018 {
00019 
00021 class CKernelStructuredOutputMachine : public CStructuredOutputMachine
00022 {
00023     public:
00025         CKernelStructuredOutputMachine();
00026 
00033         CKernelStructuredOutputMachine(CStructuredModel* model, CStructuredLabels* labs, CKernel* kernel);
00034 
00036         virtual ~CKernelStructuredOutputMachine();
00037 
00042         void set_kernel(CKernel* f);
00043 
00048         CKernel* get_kernel() const;
00049 
00051         virtual const char* get_name() const
00052         {
00053             return "KernelStructuredOutputMachine";
00054         }
00055 
00056     private:
00058         void register_parameters();
00059 
00060     protected:
00062         CKernel* m_kernel;
00063 
00064 }; /* class CKernelStructuredOutputMachine */
00065 
00066 } /* namespace shogun */
00067 
00068 #endif /* _KERNEL_STRUCTURED_OUTPUT_MACHINE__H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation