SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ZeroMean.cpp
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Copyright (C) 2012 Jacob Walker
8  */
9 
11 
12 using namespace shogun;
13 
15 {
16 
17 }
18 
20 {
21 
22 }
23 
25 {
26  SGVector<float64_t> result(data.num_cols);
27 
28  for (index_t i = 0; i < result.vlen; i++)
29  result[i] = 0;
30 
31  return result;
32 }
33 

SHOGUN Machine Learning Toolbox - Documentation