Changeset 1497
- Timestamp:
- Sep 12, 2008, 8:30:41 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
- 6 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1487 r1497 253 253 yat/Makefile 254 254 yat/classifier/Makefile 255 yat/normaliz ation/Makefile255 yat/normalizer/Makefile 256 256 yat/random/Makefile 257 257 yat/regression/Makefile -
trunk/doc/namespaces.doxygen
r1487 r1497 61 61 62 62 /// 63 /// @namespace theplu::yat::normaliz ation63 /// @namespace theplu::yat::normalizer 64 64 /// 65 65 /// @brief Normalization of data -
trunk/test/normalization_test.cc
r1496 r1497 22 22 #include "Suite.h" 23 23 24 #include "yat/normaliz ation/Centralizer.h"25 #include "yat/normaliz ation/ColumnNormalizer.h"26 #include "yat/normaliz ation/QuantileNormalizer.h"27 #include "yat/normaliz ation/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" 28 28 29 29 #include "yat/utility/Matrix.h" … … 58 58 vec.push_back(2); 59 59 vec.push_back(3); 60 normaliz ation::Centralizer<> c;60 normalizer::Centralizer<> c; 61 61 c(vec.begin(), vec.end(), vec.begin()); 62 62 for (size_t i=0; i<vec.size(); ++i) … … 67 67 void test_column_normalize(test::Suite& suite) 68 68 { 69 using namespace normaliz ation;69 using namespace normalizer; 70 70 suite.err() << "Testing ColumnNormalizer\n"; 71 71 … … 96 96 m(1,0) = 2; 97 97 m(1,1) = 4; 98 normaliz ation::QuantileNormalizer qn;98 normalizer::QuantileNormalizer qn; 99 99 qn(m, m); 100 100 suite.err() << "Testing m(0,0)\n"; … … 111 111 { 112 112 suite.err() << "Testing Spearman\n"; 113 normaliz ation::Spearman spearman;113 normalizer::Spearman spearman; 114 114 std::vector<double> vec; 115 115 vec.push_back(0); -
trunk/yat/Makefile.am
r1487 r1497 22 22 # along with yat. If not, see <http://www.gnu.org/licenses/>. 23 23 24 SUBDIRS = classifier normaliz ationrandom regression statistics utility24 SUBDIRS = classifier normalizer random regression statistics utility 25 25 26 26 lib_LTLIBRARIES = libyat.la … … 35 35 libyat_la_LIBADD = \ 36 36 classifier/libclassifier.la \ 37 normaliz ation/libnormalization.la \37 normalizer/libnormalizer.la \ 38 38 random/librandom.la \ 39 39 regression/libregression.la \ -
trunk/yat/normalizer/Centralizer.h
r1496 r1497 1 #ifndef _theplu_yat_normaliz ation_centralizer_2 #define _theplu_yat_normaliz ation_centralizer_1 #ifndef _theplu_yat_normalizer_centralizer_ 2 #define _theplu_yat_normalizer_centralizer_ 3 3 4 4 /* … … 28 28 namespace theplu { 29 29 namespace yat { 30 namespace normaliz ation{30 namespace normalizer { 31 31 32 32 /** … … 82 82 }; 83 83 84 }}} // end of namespace normaliz ation, yat and thep84 }}} // end of namespace normalizer, yat and thep 85 85 #endif -
trunk/yat/normalizer/ColumnNormalizer.h
r1496 r1497 1 #ifndef _theplu_yat_normaliz ation_column_normalizer_2 #define _theplu_yat_normaliz ation_column_normalizer_1 #ifndef _theplu_yat_normalizer_column_normalizer_ 2 #define _theplu_yat_normalizer_column_normalizer_ 3 3 4 4 /* … … 25 25 namespace theplu { 26 26 namespace yat { 27 namespace normaliz ation{27 namespace normalizer { 28 28 29 29 /** … … 76 76 77 77 78 }}} // end of namespace normaliz ation, yat and thep78 }}} // end of namespace normalizer, yat and thep 79 79 #endif -
trunk/yat/normalizer/Makefile.am
r1496 r1497 20 20 # along with yat. If not, see <http://www.gnu.org/licenses/>. 21 21 22 noinst_LTLIBRARIES = libnormaliz ation.la23 libnormaliz ation_la_SOURCES = QuantileNormalizer.cc22 noinst_LTLIBRARIES = libnormalizer.la 23 libnormalizer_la_SOURCES = QuantileNormalizer.cc 24 24 25 include_normaliz ationdir = $(includedir)/yat/normalization25 include_normalizerdir = $(includedir)/yat/normalizer 26 26 27 include_normaliz ation_HEADERS = Centralizer.h ColumnNormalizer.h \27 include_normalizer_HEADERS = Centralizer.h ColumnNormalizer.h \ 28 28 QuantileNormalizer.h Spearman.h -
trunk/yat/normalizer/QuantileNormalizer.cc
r1496 r1497 33 33 namespace theplu { 34 34 namespace yat { 35 namespace normaliz ation{35 namespace normalizer { 36 36 37 37 void QuantileNormalizer::operator()(const utility::Matrix& data, -
trunk/yat/normalizer/QuantileNormalizer.h
r1496 r1497 1 #ifndef _theplu_yat_normaliz ation_quantile_normalizer_2 #define _theplu_yat_normaliz ation_quantile_normalizer_1 #ifndef _theplu_yat_normalizer_quantile_normalizer_ 2 #define _theplu_yat_normalizer_quantile_normalizer_ 3 3 4 4 /* … … 26 26 class Matrix; 27 27 } 28 namespace normaliz ation{28 namespace normalizer { 29 29 30 30 /** 31 \brief Perform quantile normaliz ation31 \brief Perform quantile normalizer 32 32 33 33 \since New in yat 0.5 … … 41 41 in step 1. This results in a \a matrix in which each column has 42 42 the same distribution of data, and the rank of an element 43 within a column is preserved in the normaliz ation.43 within a column is preserved in the normalizer. 44 44 45 45 \note Number of rows in \a matrix and \a result must match. … … 49 49 }; 50 50 51 }}} // end of namespace normaliz ation, yat and thep51 }}} // end of namespace normalizer, yat and thep 52 52 #endif -
trunk/yat/normalizer/Spearman.h
r1496 r1497 1 #ifndef _theplu_yat_normaliz ation_spearman_2 #define _theplu_yat_normaliz ation_spearman_1 #ifndef _theplu_yat_normalizer_spearman_ 2 #define _theplu_yat_normalizer_spearman_ 3 3 4 4 /* … … 28 28 namespace theplu { 29 29 namespace yat { 30 namespace normaliz ation{30 namespace normalizer { 31 31 32 32 /** … … 68 68 }; 69 69 70 }}} // end of namespace normaliz ation, yat and thep70 }}} // end of namespace normalizer, yat and thep 71 71 #endif
Note: See TracChangeset
for help on using the changeset viewer.