yat  0.14.5pre
WilcoxonFoldChange.h
1 #ifndef _theplu_yat_statistics_wilcoxonfoldchange_
2 #define _theplu_yat_statistics_wilcoxonfoldchange_
3 
4 // $Id: WilcoxonFoldChange.h 2119 2009-12-12 23:11:43Z peter $
5 
6 /*
7  Copyright (C) 2005 Peter Johansson
8  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
9 
10  This file is part of the yat library, http://dev.thep.lu.se/yat
11 
12  The yat library is free software; you can redistribute it and/or
13  modify it under the terms of the GNU General Public License as
14  published by the Free Software Foundation; either version 3 of the
15  License, or (at your option) any later version.
16 
17  The yat library is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with yat. If not, see <http://www.gnu.org/licenses/>.
24 */
25 
26 #include "Score.h"
27 
28 namespace theplu {
29 namespace yat {
30  namespace utility {
31  class VectorBase;
32  }
33 namespace statistics {
34 
43  class WilcoxonFoldChange : public Score
44  {
45  public:
46 
50  WilcoxonFoldChange(bool absolute=true);
51 
58  double score(const classifier::Target& target,
59  const utility::VectorBase& value) const;
60 
74  double score(const classifier::Target& target,
75  const utility::VectorBase& value,
76  const utility::VectorBase& weight) const;
77 
78  private:
79 
84 
88  WilcoxonFoldChange& operator=(const WilcoxonFoldChange&);
89  };
90 
91 }}} // of namespace statistics, yat, and theplu
92 
93 #endif
Class for containing sample labels.
Definition: Target.h:47
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
WilcoxonFoldChange(bool absolute=true)
Default Constructor.
double score(const classifier::Target &target, const utility::VectorBase &value) const
Interface Class for score classes.
Definition: Score.h:42
WilcoxonFoldChange.
Definition: WilcoxonFoldChange.h:43
void absolute(bool absolute)
Function changing mode of Score.

Generated on Tue Sep 26 2017 02:33:29 for yat by  doxygen 1.8.5