SHOGUN
v3.2.0
|
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) 2013 Roman Votyakov 00008 * Copyright (C) 2012 Jacob Walker 00009 */ 00010 00011 #ifndef CZEROMEAN_H_ 00012 #define CZEROMEAN_H_ 00013 00014 #include <shogun/machine/gp/MeanFunction.h> 00015 00016 namespace shogun 00017 { 00018 00023 class CZeroMean : public CMeanFunction 00024 { 00025 public: 00027 CZeroMean(); 00028 00029 virtual ~CZeroMean(); 00030 00035 virtual const char* get_name() const { return "ZeroMean"; } 00036 00044 virtual SGVector<float64_t> get_mean_vector(const CFeatures* features) const; 00045 }; 00046 } 00047 #endif /* CZEROMEAN_H_ */