Ignore:
Timestamp:
Aug 28, 2008, 4:56:42 AM (13 years ago)
Author:
Peter
Message:

Changed the interface of QuantileNormalizer?. The interface now has one matrix& and one const&. The former is object for normalization, and the latter is the base for calculating the distributions (Quantiles). The reason to change the interface is to allow normalization based on a nother matrix, e.g., normalizing a test data matrix based on the training data matrix. Also it is more inline with the Centralizer added earlier today. refs #425

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/normalization_test.cc

    r1445 r1447  
    7171  m(1,1) = 4;
    7272  normalization::QuantileNormalizer qn;
    73   qn(m);
     73  qn(m, m);
    7474  suite.err() << "Testing m(0,0)\n";
    7575  suite.add(suite.equal(m(0,0), 2));
Note: See TracChangeset for help on using the changeset viewer.