Changeset 1717 for trunk/yat/normalizer/Zscore.h
 Timestamp:
 Jan 13, 2009, 11:32:00 PM (12 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/normalizer/Zscore.h
r1575 r1717 5 5 6 6 /* 7 Copyright (C) 2008 Peter Johansson7 Copyright (C) 2008, 2009 Peter Johansson 8 8 9 9 This file is part of the yat library, http://dev.thep.lu.se/yat … … 35 35 \brief Zero mean and unity variance 36 36 37 Create a range that has zero mean and unity variance 37 Shift and scale the values in a range as: \f$ y_i = 38 \frac{x_im}{s} \f$ where \a m is the mean and \a s is the 39 standard deviation. After normalization, the range will have zero 40 mean and unity variance. 38 41 39 42 \since New in yat 0.5 … … 44 47 /** 45 48 The element in range [result, result + (lastfirst)) is 46 calculated as result[i] = (first[i]  m) / s tdwhere m and std49 calculated as result[i] = (first[i]  m) / s where m and std 47 50 are the mean and standard deviation, respectively, of the range 48 51 [first, last).
Note: See TracChangeset
for help on using the changeset viewer.