yat
0.11.3pre
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
yat
statistics
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
83
WilcoxonFoldChange
(
const
WilcoxonFoldChange
&);
84
88
WilcoxonFoldChange
& operator=(
const
WilcoxonFoldChange
&);
89
};
90
91
}}}
// of namespace statistics, yat, and theplu
92
93
#endif
Generated on Sat May 24 2014 03:33:05 for yat by
1.8.2