source: branches/peters_vector/lib/statistics/WilcoxonFoldChange.h @ 469

Last change on this file since 469 was 469, checked in by Peter, 16 years ago

non compiling checking before revision after design meeting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1// $Id: WilcoxonFoldChange.h 469 2005-12-19 14:58:29Z peter $
2
3#ifndef _theplu_statistics_wilcoxonfoldchange_
4#define _theplu_statistics_wilcoxonfoldchange_
5
6#include <c++_tools/statistics/Score.h>
7
8namespace theplu {
9namespace statistics {
10
11  ///
12  /// @brief WilcoxonFoldChange
13  ///
14  class WilcoxonFoldChange : public Score
15  {
16  public:
17
18    ///
19    /// @brief Default Constructor
20    ///
21    WilcoxonFoldChange(bool absolute=true);
22
23    ///
24    /// @return difference of the means of the two classes
25    ///
26    /// @param target is +1 or -1
27    /// @param value vector of the values
28    /// @train_set defining which values to use (number of values used
29    /// in the calculation is equal to size of \a train_set)
30    ///
31    double score(const classifier::Target& target, 
32                 const classifier::VectorAbstract& value); 
33 
34    ///
35    /// @return difference of the weighted means of the two classes
36    ///
37    /// @param value vector of the values
38    /// @param weight vector of accompanied weight to the values
39    /// @train_set defining which values to use (number of values used
40    /// in the calculation is equal to size of \a train_set)
41    ///
42    /// @note not implemented
43    ///
44    double score(const classifier::Target& target, 
45                 const classifier::VectorAbstract& value, 
46                 const classifier::VectorAbstract& weight); 
47 
48  private:
49
50    ///
51    /// @brief Copy Constructor
52    ///
53    WilcoxonFoldChange(const WilcoxonFoldChange&);
54
55    ///
56    /// @brief Assignment operator
57    ///
58    WilcoxonFoldChange& operator=(const WilcoxonFoldChange&);
59
60  };
61
62} // of namespace statistics
63} // of namespace theplu
64
65#endif
Note: See TracBrowser for help on using the repository browser.