Ignore:
Timestamp:
Sep 21, 2008, 6:07:45 AM (13 years ago)
Author:
Peter
Message:

changed implementation of a couple of normalizer so that operator() takes two matrices of which one is an input marix and one is a result matrix, i.e., the result does only depend on the input matrix and the result is only used as a receiver - I think this behaviour is more intuitive, although it is not as general as the previous one. We should probably document somewhere how we expect a 2Dnormalizer to behave (refs #425).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/normalizer/QuantileNormalizer.h

    r1497 r1518  
    2929
    3030  /**
    31      \brief Perform quantile normalizer
     31     \brief Perform quantile normalization
    3232
    3333     \since New in yat 0.5
     
    3939       The \a matrix is normalized by sorting each column, replacing
    4040       each value with the average across rows, and undo the sorting
    41        in step 1. This results in a \a matrix in which each column has
    42        the same distribution of data, and the rank of an element
    43        within a column is preserved in the normalizer.
     41       in step 1. This results in a Matrix \a result in which each
     42       column has the same distribution of data, and the rank of an
     43       element within a column is the same as in \a matrix.
    4444
    45        \note Number of rows in \a matrix and \a result must match.
     45       \note dimensions of \a matrix and \a result must match.
    4646     */
    47     void operator()(const utility::Matrix& matrix, 
     47    void operator()(const utility::Matrix& matrix,
    4848                    utility::Matrix& result) const;
    4949  };
Note: See TracChangeset for help on using the changeset viewer.