Ignore:
Timestamp:
Sep 12, 2008, 8:30:41 PM (13 years ago)
Author:
Peter
Message:

changing name to normalizer - closes #416

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/normalization_test.cc

    r1496 r1497  
    2222#include "Suite.h"
    2323
    24 #include "yat/normalization/Centralizer.h"
    25 #include "yat/normalization/ColumnNormalizer.h"
    26 #include "yat/normalization/QuantileNormalizer.h"
    27 #include "yat/normalization/Spearman.h"
     24#include "yat/normalizer/Centralizer.h"
     25#include "yat/normalizer/ColumnNormalizer.h"
     26#include "yat/normalizer/QuantileNormalizer.h"
     27#include "yat/normalizer/Spearman.h"
    2828
    2929#include "yat/utility/Matrix.h"
     
    5858  vec.push_back(2);
    5959  vec.push_back(3);
    60   normalization::Centralizer<> c;
     60  normalizer::Centralizer<> c;
    6161  c(vec.begin(), vec.end(), vec.begin());
    6262  for (size_t i=0; i<vec.size(); ++i)
     
    6767void test_column_normalize(test::Suite& suite)
    6868{
    69   using namespace normalization;
     69  using namespace normalizer;
    7070  suite.err() << "Testing ColumnNormalizer\n";
    7171 
     
    9696  m(1,0) = 2;
    9797  m(1,1) = 4;
    98   normalization::QuantileNormalizer qn;
     98  normalizer::QuantileNormalizer qn;
    9999  qn(m, m);
    100100  suite.err() << "Testing m(0,0)\n";
     
    111111{
    112112  suite.err() << "Testing Spearman\n";
    113   normalization::Spearman spearman;
     113  normalizer::Spearman spearman;
    114114  std::vector<double> vec;
    115115  vec.push_back(0);
Note: See TracChangeset for help on using the changeset viewer.