ZeroMean.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  * Copyright (C) 2012 Jacob Walker
00008  */
00009 
00010 #ifndef CZEROMEAN_H_
00011 #define CZEROMEAN_H_
00012 
00013 #include <shogun/regression/gp/MeanFunction.h>
00014 
00015 namespace shogun
00016 {
00017 
00024 class CZeroMean: public CMeanFunction
00025 {
00026 
00027 public:
00028 
00029     /*Constructor*/
00030     CZeroMean();
00031 
00032     /*Destructor*/
00033     virtual ~CZeroMean();
00034 
00040     virtual const char* get_name() const { return "ZeroMean"; }
00041 
00049     virtual SGVector<float64_t> get_mean_vector(SGMatrix<float64_t>& data);
00050 
00051 };
00052 
00053 }
00054 
00055 #endif /* CZEROMEAN_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation