Changeset 683 for trunk/yat/statistics


Ignore:
Timestamp:
Oct 12, 2006, 12:20:36 AM (17 years ago)
Author:
Jari Häkkinen
Message:

Addresses #153. Clean up of code.

Location:
trunk/yat/statistics
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/AveragerPair.cc

    r680 r683  
    3030namespace theplu {
    3131namespace yat {
    32 namespace statistics{
     32namespace statistics {
    3333 
    3434  const AveragerPair& AveragerPair::operator+=(const AveragerPair& a)
  • trunk/yat/statistics/AveragerPairWeighted.h

    r680 r683  
    1 #ifndef _theplu_yat_statistics_averager_pair_weighted_
    2 #define _theplu_yat_statistics_averager_pair_weighted_
     1#ifndef _theplu_yat_statistics_averagerpairweighted_
     2#define _theplu_yat_statistics_averagerpairweighted_
    33
    44// $Id$
     
    175175  }
    176176
    177 
    178 }}} // of namespace statistics, yat and theplu
     177}}} // of namespace statistics, yat, and theplu
    179178
    180179#endif
  • trunk/yat/statistics/AveragerWeighted.cc

    r680 r683  
    2626namespace theplu {
    2727namespace yat {
    28 namespace statistics{
    29  
     28namespace statistics {
    3029
    3130  AveragerWeighted AveragerWeighted::operator+=(const AveragerWeighted& a)
     
    3534  }
    3635
    37 
    38 }}} // of namespace statistics, yat and theplu
     36}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/AveragerWeighted.h

    r680 r683  
    1 #ifndef _theplu_yat_statistics_averager_weighted_
    2 #define _theplu_yat_statistics_averager_weighted_
     1#ifndef _theplu_yat_statistics_averagerweighted_
     2#define _theplu_yat_statistics_averagerweighted_
    33
    44// $Id$
     
    244244///std::ostream& operator<<(std::ostream& s,const AveragerWeighted&);
    245245
    246 }}} // of namespace statistics, yat and theplu
     246}}} // of namespace statistics, yat, and theplu
    247247
    248248#endif
  • trunk/yat/statistics/Distance.cc

    r680 r683  
    5858  }
    5959
    60 
    61 }}} // of namespace statistics, yat and theplu
    62 
    63 
     60}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/Distance.h

    r680 r683  
    3535  }
    3636
     37namespace statistics{
    3738
    38 namespace statistics{
    3939  ///
    4040  /// Interface class for calculating distances between arrays.
     
    9595  };
    9696
    97 }}} // of namespace statistics, yat and theplu
     97}}} // of namespace statistics, yat, and theplu
    9898
    9999#endif
  • trunk/yat/statistics/Fisher.cc

    r680 r683  
    224224  }
    225225
    226 }}} // of namespace statistics, yat and theplu
     226}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/Fisher.h

    r680 r683  
    165165    double score(const u_int a, const u_int b,
    166166                 const u_int c, const u_int d);
    167    
    168167
    169168         
     
    186185  };
    187186
    188 }}} // of namespace statistics, yat and theplu
     187}}} // of namespace statistics, yat, and theplu
    189188
    190189#endif
    191 
  • trunk/yat/statistics/FoldChange.cc

    r680 r683  
    3333namespace statistics {
    3434
    35 
    3635  FoldChange::FoldChange(bool absolute)
    3736    : Score(absolute)
     
    3938  }
    4039
    41 
    42 
    4340  FoldChange::FoldChange(const FoldChange& other)
    4441    : Score(other)
    4542  {
    4643  }
    47 
    48 
    4944
    5045  FoldChange& FoldChange::operator=(const FoldChange& other)
     
    9085  }
    9186
    92 
    9387  double FoldChange::score(const classifier::Target& target,
    9488                           const utility::vector& value,
  • trunk/yat/statistics/FoldChange.h

    r680 r683  
    3131
    3232  class utility::vector;
    33 
    3433
    3534namespace statistics {
  • trunk/yat/statistics/Histogram.h

    r680 r683  
    196196std::ostream& operator<<(std::ostream& s,const Histogram&);
    197197
    198 }}} // of namespace statistics, yat and theplu
     198}}} // of namespace statistics, yat, and theplu
    199199
    200200#endif
  • trunk/yat/statistics/Makefile.am

    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    r682 r683  
    11## Process this file with automake to produce Makefile.in
    22##
    3 ## $Id: Makefile.am 281 2005-04-20 16:45:02Z peter $
     3## $Id$
    44
    55# Copyright (C) 2005 Jari Häkkinen, Peter Johansson
  • trunk/yat/statistics/Pearson.cc

    r680 r683  
    119119  }
    120120
    121 }}} // of namespace statistics, yat and theplu
     121}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/Pearson.h

    r680 r683  
    103103    int nof_samples_;
    104104
    105 
    106105    //    void centralize(utility::vector&, const utility::vector&);
    107106  };
    108107
    109 }}} // of namespace statistics, yat and theplu
     108}}} // of namespace statistics, yat, and theplu
    110109
    111110#endif
    112 
  • trunk/yat/statistics/PearsonDistance.cc

    r680 r683  
    3939  }
    4040
    41 
    4241  double PearsonDistance::operator()(const utility::vector& x,
    4342                                     const utility::vector& y,
     
    5049  }
    5150
    52 
    53 
    54 
    55 }}} // of namespace statistics, yat and theplu
    56 
    57 
     51}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/PearsonDistance.h

    r680 r683  
    1 #ifndef _theplu_yat_statistics_pearson_distance_
    2 #define _theplu_yat_statistics_pearson_distance_
     1#ifndef _theplu_yat_statistics_pearsondistance_
     2#define _theplu_yat_statistics_pearsondistance_
    33
    44// $Id$
     
    3838  }
    3939
    40 
    4140namespace statistics{
    4241  ///
     
    7372  };
    7473
    75 }}} // of namespace statistics, yat and theplu
     74}}} // of namespace statistics, yat, and theplu
    7675
    7776#endif
  • trunk/yat/statistics/ROC.cc

    r680 r683  
    221221  }
    222222
    223 
    224 }}} // of namespace statistics, yat and theplu
     223}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/ROC.h

    r680 r683  
    164164  std::ostream& operator<< (std::ostream& s, const ROC&);
    165165
    166 
    167 }}} // of namespace statistics, yat and theplu
     166}}} // of namespace statistics, yat, and theplu
    168167
    169168#endif
    170 
  • trunk/yat/statistics/SAM.cc

    r680 r683  
    112112  }
    113113
    114 
    115 
    116 }}} // of namespace statistics, yat and theplu
     114}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/SAM.h

    r680 r683  
    101101  };
    102102
    103 }}} // of namespace statistics, yat and theplu
     103}}} // of namespace statistics, yat, and theplu
    104104
    105105#endif
    106 
  • trunk/yat/statistics/SNR.cc

    r680 r683  
    108108  }
    109109
    110 
    111 
    112 }}} // of namespace statistics, yat and theplu
     110}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/SNR.h

    r680 r683  
    8383  };
    8484
    85 }}} // of namespace statistics, yat and theplu
     85}}} // of namespace statistics, yat, and theplu
    8686
    8787#endif
    88 
  • trunk/yat/statistics/Score.cc

    r680 r683  
    3333  }
    3434
    35 }}} // of namespace statistics, yat and theplu
     35}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/Score.h

    r680 r683  
    151151  }; // class Score
    152152
    153 }}} // of namespace statistics, yat and theplu
     153}}} // of namespace statistics, yat, and theplu
    154154
    155155#endif
  • trunk/yat/statistics/tScore.h

    r680 r683  
    2828
    2929#include <gsl/gsl_cdf.h>
    30 
    3130
    3231namespace theplu {
     
    117116    double p_value() const;
    118117
    119          
    120          
    121118  private:
    122119    double t_;
     
    125122  };
    126123
    127 }}} // of namespace statistics, yat and theplu
     124}}} // of namespace statistics, yat, and theplu
    128125
    129126#endif
    130 
  • trunk/yat/statistics/utility.cc

    r680 r683  
    8282  }
    8383
    84 }}} // of namespace statistics, yat and theplu
     84}}} // of namespace statistics, yat, and theplu
  • trunk/yat/statistics/utility.h

    r680 r683  
    182182  }
    183183 
    184 
    185 }}} // of namespace statistics, yat and theplu
     184}}} // of namespace statistics, yat, and theplu
    186185
    187186#endif
Note: See TracChangeset for help on using the changeset viewer.