![]() |
GURLS++
2.0.00
C++ Implementation of GURLS Matlab Toolbox
|
00001 /* 00002 * The GURLS Package in C++ 00003 * 00004 * Copyright (C) 2011-1013, IIT@MIT Lab 00005 * Authors: Matteo Santoro, Elena Ceseracciu 00006 TODO: add copy policy 00007 */ 00008 00009 #ifndef GURLS_GPRWRAPPER_H 00010 #define GURLS_GPRWRAPPER_H 00011 00012 #include "gurls++/wrapper.h" 00013 00014 namespace gurls 00015 { 00016 00021 template<typename T> 00022 class GPRWrapper: public KernelWrapper<T> 00023 { 00024 public: 00030 GPRWrapper(const std::string& name); 00031 00035 ~GPRWrapper(); 00036 00043 void train(const gMat2D<T> &X, const gMat2D<T> &y); 00044 00051 gMat2D<T>* eval(const gMat2D<T> &X); 00052 00059 gMat2D<T>* eval(const gMat2D<T> &X, gMat2D<T> &vars); 00060 00061 protected: 00062 00063 GurlsOptionsList *norm; 00064 }; 00065 00066 } 00067 00068 #include "gprwrapper.hpp" 00069 00070 #endif //GURLS_GPRWRAPPER_H