Changeset 680
- Timestamp:
- Oct 11, 2006, 7:49:03 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 178 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/namespaces.doxygen
r675 r680 24 24 /// 25 25 /// @namespace theplu 26 /// All our C++ projects should ideally be defined within theplu namespace.27 26 /// 28 /// @brief 27 /// All C++ projects at the Department of Theoretical Physics should 28 /// ideally be defined within a common namespace. We use theplu for 29 /// this common namespace. 30 /// 31 /// @brief The Department of Theoretical Physics namespace as we 32 /// define it. 33 /// 29 34 35 /// 36 /// @namespace theplu::yat 30 37 /// 31 /// @namespace theplu::random 38 /// All classes and functions are for the yat project is placed in sub 39 /// namespaces of the yat namespace. 32 40 /// 33 /// @brief Random number distributions41 /// @brief yat project namespace. 34 42 /// 35 43 36 44 /// 37 /// @namespace theplu:: utility45 /// @namespace theplu::yat::random 38 46 /// 39 /// @brief Miscellaneous 47 /// The yat random number related functionality is placed with the 48 /// random namespace. 49 /// 50 /// @brief Random number distributions. 40 51 /// 41 52 42 53 /// 43 /// @namespace theplu::utility::alignment 44 /// All alignment algorithm should go into the aligment namespace 54 /// @namespace theplu::yat::utility 45 55 /// 46 /// @brief Container for alignment algorithms 56 /// Needed yat functionality that we don't know where to put usually 57 /// ends up in the utility namespace until we figure out their proper 58 /// namespace location. 59 /// 60 /// @brief Miscellaneous functionality. 47 61 /// 48 62 49 63 /// 50 /// @namespace theplu::classifier 51 /// All classes associated with usage of 52 /// classifiers should be defined within this namespace 64 /// @namespace theplu::yat::classifier 65 /// 66 /// All classes associated with usage of classifiers are defined 67 /// within this namespace. 53 68 /// 54 /// @brief Classifier related classes 69 /// @brief Classifier related classes. 55 70 /// 56 71 57 72 /// 58 /// @namespace theplu::statistics All classes and functions related to 59 /// statistical methods or functions should be defined within this 60 /// namespace. 61 /// See <a href="Statistics/index.html">Weighted Statistics document</a><br> 73 /// @namespace theplu::yat::statistics 62 74 /// 63 /// @brief Statistical methods and functions 75 /// All classes and functions related to statistical methods or 76 /// functions are defined within this namespace. See <a 77 /// href="Statistics/index.html">Weighted Statistics document</a><br>. 78 /// 79 /// @brief Statistical methods, classes, and functions. 80 /// 64 81 65 82 /// 66 /// @namespace theplu:: statistics::regression83 /// @namespace theplu::yat::regression 67 84 /// 68 /// @brief Statistical modeling of data 85 /// @brief Statistical modeling of data. 86 /// 69 87 70 -
trunk/test/alignment_test.cc
r675 r680 36 36 #include <vector> 37 37 38 using namespace theplu ;38 using namespace theplu::yat; 39 39 40 40 void read_vector(std::vector<double>& v,std::string& str) … … 75 75 const std::vector<double>& l2, 76 76 const double sigma, 77 theplu:: utility::matrix& dot_matrix,77 theplu::yat::utility::matrix& dot_matrix, 78 78 std::vector<std::pair<size_t,size_t> >& path) 79 79 { 80 dot_matrix = theplu:: utility::matrix(l1.size(),l2.size());80 dot_matrix = theplu::yat::utility::matrix(l1.size(),l2.size()); 81 81 for (size_t i=0; i<l1.size(); i++) 82 82 for (size_t j=0; j<l2.size(); j++) { … … 85 85 dot_matrix(i,j)=match(l1[i],l2[j],sigma); 86 86 } 87 return theplu:: utility::alignment::NeedlemanWunsch(dot_matrix,path,0);87 return theplu::yat::utility::NeedlemanWunsch(dot_matrix,path,0); 88 88 } 89 89 -
trunk/test/averager_test.cc
r675 r680 32 32 #include <iostream> 33 33 34 using namespace theplu:: statistics;34 using namespace theplu::yat::statistics; 35 35 36 36 //Forward declarations … … 122 122 // Testing AveragerWeighted 123 123 *error << "testing AveragerWeighted" << std::endl; 124 theplu:: utility::vector x(3,0);124 theplu::yat::utility::vector x(3,0); 125 125 x(0)=0; 126 126 x(1)=1; 127 127 x(2)=2; 128 theplu:: utility::vector w(3,1);129 theplu:: statistics::AveragerWeighted aw;128 theplu::yat::utility::vector w(3,1); 129 theplu::yat::statistics::AveragerWeighted aw; 130 130 aw.add_values(x,w); 131 131 a.reset(); … … 183 183 AveragerPairWeighted apw; 184 184 x(0)=0; x(1)=1; x(2)=2; 185 theplu:: utility::vector y(3,0);185 theplu::yat::utility::vector y(3,0); 186 186 x(0)=0; x(1)=0; x(2)=2; 187 187 apw.add_values(x,y,w,w); -
trunk/test/commandline_test.cc
r675 r680 27 27 #include <iostream> 28 28 29 using namespace theplu ;29 using namespace theplu::yat; 30 30 31 31 int main(const int argc,const char* argv[]) -
trunk/test/consensus_inputranker_test.cc
r675 r680 50 50 51 51 ifstream is("data/rank_data.txt"); 52 theplu:: utility::matrix data_tmp(is);53 theplu:: classifier::MatrixLookup data(data_tmp);52 theplu::yat::utility::matrix data_tmp(is); 53 theplu::yat::classifier::MatrixLookup data(data_tmp); 54 54 is.close(); 55 55 56 56 is.open("data/rank_target.txt"); 57 theplu:: classifier::Target target(is);57 theplu::yat::classifier::Target target(is); 58 58 is.close(); 59 59 60 60 61 theplu:: statistics::ROC roc;62 theplu:: classifier::CrossValidationSampler sampler(target,30,3);61 theplu::yat::statistics::ROC roc; 62 theplu::yat::classifier::CrossValidationSampler sampler(target,30,3); 63 63 *error << "Building Consensus_Inputranker" << std::endl; 64 theplu:: classifier::IRRank retrieve;65 theplu:: classifier::ConsensusInputRanker cir(sampler,data,roc,retrieve);64 theplu::yat::classifier::IRRank retrieve; 65 theplu::yat::classifier::ConsensusInputRanker cir(sampler,data,roc,retrieve); 66 66 *error << "Done" << std::endl; 67 67 … … 76 76 } 77 77 78 theplu:: utility::matrix flag(data.rows(),data.columns(),1);78 theplu::yat::utility::matrix flag(data.rows(),data.columns(),1); 79 79 // Peter, fix weighted version instead 80 theplu:: classifier::ConsensusInputRanker cir2(sampler,data,roc,retrieve);80 theplu::yat::classifier::ConsensusInputRanker cir2(sampler,data,roc,retrieve); 81 81 82 82 if (cir2.id(0)!=2 || cir2.id(1)!=0 || cir2.id(2)!=1){ … … 89 89 ok=false; 90 90 } 91 92 91 93 92 if (error!=&std::cerr) 94 93 delete error; -
trunk/test/crossvalidation_test.cc
r675 r680 41 41 int main(const int argc,const char* argv[]) 42 42 { 43 using namespace theplu ;43 using namespace theplu::yat; 44 44 45 45 std::ostream* error; -
trunk/test/data_lookup_1d_test.cc
r679 r680 33 33 #include <cmath> 34 34 35 using namespace theplu ;35 using namespace theplu::yat; 36 36 37 37 utility::matrix matrix(size_t n); … … 40 40 int main(const int argc,const char* argv[]) 41 41 { 42 using namespace theplu:: classifier;42 using namespace theplu::yat::classifier; 43 43 44 44 std::ostream* error; -
trunk/test/ensemble_test.cc
r675 r680 45 45 int main(const int argc,const char* argv[]) 46 46 { 47 using namespace theplu ;47 using namespace theplu::yat; 48 48 49 49 std::ostream* error; -
trunk/test/feature_selection_test.cc
r675 r680 30 30 #include <string> 31 31 32 using namespace theplu ;32 using namespace theplu::yat; 33 33 34 34 int main(const int argc,const char* argv[]) -
trunk/test/inputranker_test.cc
r675 r680 36 36 int main(const int argc,const char* argv[]) 37 37 { 38 using namespace theplu ;38 using namespace theplu::yat; 39 39 std::ostream* error; 40 40 if (argc>1 && argv[1]==std::string("-v")) … … 49 49 50 50 std::ifstream is("data/rank_data.txt"); 51 theplu:: utility::matrix data_tmp(is);52 theplu:: classifier::MatrixLookup data(data_tmp);51 theplu::yat::utility::matrix data_tmp(is); 52 theplu::yat::classifier::MatrixLookup data(data_tmp); 53 53 is.close(); 54 54 -
trunk/test/kernel_lookup_test.cc
r675 r680 33 33 #include <vector> 34 34 35 using namespace theplu ;35 using namespace theplu::yat; 36 36 37 37 int main(const int argc,const char* argv[]) 38 38 { 39 using namespace theplu:: classifier;39 using namespace theplu::yat::classifier; 40 40 41 41 std::ostream* error; -
trunk/test/kernel_test.cc
r679 r680 36 36 #include <vector> 37 37 38 using namespace theplu ;38 using namespace theplu::yat; 39 39 40 40 bool test_MEV(const classifier::MatrixLookup& data, -
trunk/test/matrix_lookup_test.cc
r675 r680 29 29 #include <vector> 30 30 31 using namespace theplu ;31 using namespace theplu::yat; 32 32 33 33 utility::matrix matrix(size_t n); … … 35 35 int main(const int argc,const char* argv[]) 36 36 { 37 using namespace theplu:: classifier;37 using namespace theplu::yat::classifier; 38 38 39 39 std::ostream* error; -
trunk/test/matrix_test.cc
r679 r680 34 34 : m_(i,j,value) {} 35 35 36 inline theplu:: utility::vector37 row(const size_t& i) { return theplu:: utility::vector(m_,i); }38 39 inline const theplu:: utility::matrix& matrix(void) const { return m_; }36 inline theplu::yat::utility::vector 37 row(const size_t& i) { return theplu::yat::utility::vector(m_,i); } 38 39 inline const theplu::yat::utility::matrix& matrix(void) const { return m_; } 40 40 41 41 private: 42 theplu:: utility::matrix m_;42 theplu::yat::utility::matrix m_; 43 43 }; 44 44 … … 46 46 int main(const int argc,const char* argv[]) 47 47 { 48 using namespace theplu ;48 using namespace theplu::yat; 49 49 std::ostream* error; 50 50 if (argc>1 && argv[1]==std::string("-v")) -
trunk/test/ncc_test.cc
r675 r680 39 39 #include <cmath> 40 40 41 using namespace theplu ;41 using namespace theplu::yat; 42 42 43 43 int main(const int argc,const char* argv[]) -
trunk/test/nni_test.cc
r675 r680 32 32 #include <string> 33 33 34 using namespace theplu ;34 using namespace theplu::yat; 35 35 36 36 void check_file_access(std::string& str) -
trunk/test/pca_test.cc
r675 r680 31 31 32 32 33 using namespace theplu ;33 using namespace theplu::yat; 34 34 int main() 35 35 { -
trunk/test/regression_test.cc
r675 r680 39 39 40 40 41 using namespace theplu ;41 using namespace theplu::yat; 42 42 43 43 bool Local_test(statistics::regression::OneDimensionalWeighted&, … … 47 47 int main(const int argc,const char* argv[]) 48 48 { 49 using namespace theplu;50 49 std::ostream* error; 51 50 if (argc>1 && argv[1]==std::string("-v")) -
trunk/test/rnd_test.cc
r675 r680 30 30 int main(const int argc,const char* argv[]) 31 31 { 32 using namespace theplu;33 32 std::ostream* error; 34 33 if (argc>1 && argv[1]==std::string("-v")) … … 42 41 bool ok = true; 43 42 44 theplu:: random::RNG* rng=theplu::random::RNG::instance();43 theplu::yat::random::RNG* rng=theplu::yat::random::RNG::instance(); 45 44 // testing that minimal integer is zero for the generator 46 45 if (rng->min()){ -
trunk/test/score_test.cc
r675 r680 37 37 38 38 39 using namespace theplu ;39 using namespace theplu::yat; 40 40 41 41 int main(const int argc,const char* argv[]) -
trunk/test/statistics_test.cc
r675 r680 32 32 int main() 33 33 { 34 using namespace theplu ;34 using namespace theplu::yat; 35 35 utility::vector gsl_vec(10); 36 36 std::vector<double> data; -
trunk/test/stl_utility_test.cc
r675 r680 30 30 31 31 { 32 using namespace theplu ;32 using namespace theplu::yat; 33 33 bool ok = true; 34 34 -
trunk/test/subset_generator_test.cc
r675 r680 40 40 #include <string> 41 41 42 using namespace theplu ;42 using namespace theplu::yat; 43 43 44 44 int main(const int argc,const char* argv[]) -
trunk/test/svd_test.cc
r675 r680 27 27 #include "yat/utility/vector.h" 28 28 29 using namespace theplu ;29 using namespace theplu::yat; 30 30 31 31 double this_norm(const utility::matrix& A) … … 46 46 47 47 // initialise a random test-matrix 48 theplu:: random::ContinuousUniform rnd;48 theplu::yat::random::ContinuousUniform rnd; 49 49 utility::matrix A(m,n); 50 50 for (size_t i=0; i<m; ++i) … … 54 54 utility::SVD svd(A); 55 55 svd.decompose(algo); 56 theplu:: utility::vector s(svd.s());56 theplu::yat::utility::vector s(svd.s()); 57 57 utility::matrix S(s.size(),s.size()); 58 58 for (size_t i=0; i<s.size(); ++i) -
trunk/test/svm_test.cc
r675 r680 37 37 #include <limits> 38 38 39 using namespace theplu ;39 using namespace theplu::yat; 40 40 41 41 int main(const int argc,const char* argv[]) … … 123 123 124 124 is.open("data/nm_alpha_linear_matlab.txt"); 125 theplu:: utility::vector alpha_matlab(is);125 theplu::yat::utility::vector alpha_matlab(is); 126 126 is.close(); 127 127 128 128 classifier::KernelLookup kv(kernel); 129 theplu:: classifier::SVM svm(kv, target);129 theplu::yat::classifier::SVM svm(kv, target); 130 130 if (!svm.train()){ 131 131 ok=false; … … 133 133 } 134 134 135 theplu:: utility::vector alpha = svm.alpha();135 theplu::yat::utility::vector alpha = svm.alpha(); 136 136 137 137 // Comparing alpha to alpha_matlab 138 theplu:: utility::vector diff_alpha(alpha);138 theplu::yat::utility::vector diff_alpha(alpha); 139 139 diff_alpha-=alpha_matlab; 140 140 if (diff_alpha*diff_alpha> 1e-10 ){ … … 144 144 145 145 // Comparing output to target 146 theplu:: utility::vector output(svm.output());146 theplu::yat::utility::vector output(svm.output()); 147 147 double slack = 0; 148 148 for (unsigned int i=0; i<target.size(); i++){ -
trunk/test/target_test.cc
r675 r680 29 29 #include <vector> 30 30 31 using namespace theplu ;31 using namespace theplu::yat; 32 32 33 33 int main(const int argc,const char* argv[]) -
trunk/test/utility_test.cc
r676 r680 31 31 32 32 { 33 using namespace theplu ;33 using namespace theplu::yat; 34 34 35 35 std::ostream* error; -
trunk/test/vector_test.cc
r675 r680 30 30 #include <sstream> 31 31 32 using namespace theplu ;32 using namespace theplu::yat; 33 33 34 34 void check_file_access(std::string& str) -
trunk/yat/classifier/ConsensusInputRanker.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/ConsensusInputRanker.h" 25 26 #include "yat/classifier/InputRanker.h" 27 #include "yat/classifier/IRRetrieve.h" 28 #include "yat/classifier/MatrixLookup.h" 29 #include "yat/classifier/MatrixLookupWeighted.h" 30 #include "yat/classifier/Sampler.h" 31 #include "yat/classifier/Target.h" 24 #include "ConsensusInputRanker.h" 25 #include "InputRanker.h" 26 #include "IRRetrieve.h" 27 #include "MatrixLookup.h" 28 #include "MatrixLookupWeighted.h" 29 #include "Sampler.h" 30 #include "Target.h" 32 31 #include "yat/statistics/Score.h" 33 32 #include "yat/statistics/utility.h" … … 42 41 43 42 namespace theplu { 43 namespace yat { 44 44 namespace classifier { 45 45 … … 111 111 112 112 113 }} // of namespace classifier and namespacetheplu113 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/ConsensusInputRanker.h
r677 r680 1 #ifndef _theplu_ classifier_consensusinputranker_2 #define _theplu_ classifier_consensusinputranker_1 #ifndef _theplu_yat_classifier_consensusinputranker_ 2 #define _theplu_yat_classifier_consensusinputranker_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/InputRanker.h"27 #include "InputRanker.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 31 32 class statistics::Score; … … 128 129 }; 129 130 130 }} // of namespace classifier and namespacetheplu131 }}} // of namespace classifier, yat, and theplu 131 132 132 133 #endif -
trunk/yat/classifier/CrossValidationSampler.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/CrossValidationSampler.h"25 #include " yat/classifier/Target.h"24 #include "CrossValidationSampler.h" 25 #include "Target.h" 26 26 #include "yat/random/random.h" 27 27 … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace classifier { 35 36 … … 96 97 } 97 98 98 }} // of namespace classifier and namespacetheplu99 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/CrossValidationSampler.h
r675 r680 1 #ifndef _theplu_ classifier_crossvalidation_sampler_2 #define _theplu_ classifier_crossvalidation_sampler_1 #ifndef _theplu_yat_classifier_crossvalidation_sampler_ 2 #define _theplu_yat_classifier_crossvalidation_sampler_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/Sampler.h"27 #include "Sampler.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace classifier { 31 32 … … 65 66 }; 66 67 67 }} // of namespace classifier and namespacetheplu68 }}} // of namespace classifier, yat, and theplu 68 69 69 70 #endif -
trunk/yat/classifier/DataLookup1D.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/DataLookup1D.h"25 #include " yat/classifier/DataLookup2D.h"26 #include " yat/classifier/MatrixLookup.h"24 #include "DataLookup1D.h" 25 #include "DataLookup2D.h" 26 #include "MatrixLookup.h" 27 27 28 28 #include <cassert> … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 … … 83 84 } 84 85 85 }} // of namespace classifier and namespacetheplu86 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/DataLookup1D.h
r675 r680 1 #ifndef _theplu_ classifier_dataLookup1D_2 #define _theplu_ classifier_dataLookup1D_1 #ifndef _theplu_yat_classifier_dataLookup1D_ 2 #define _theplu_yat_classifier_dataLookup1D_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/DataLookup2D.h"27 #include "DataLookup2D.h" 28 28 29 29 #include <cassert> … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace classifier { 35 36 … … 123 124 std::ostream& operator<<(std::ostream& s, const DataLookup1D& v); 124 125 125 }} // of namespace classifier and namespacetheplu126 }}} // of namespace classifier, yat, and theplu 126 127 127 128 #endif -
trunk/yat/classifier/DataLookup2D.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/DataLookup2D.h"24 #include "DataLookup2D.h" 25 25 26 26 #include <vector> … … 31 31 #endif 32 32 33 34 33 namespace theplu { 34 namespace yat { 35 35 namespace classifier { 36 36 … … 125 125 } 126 126 127 }} // of namespace classifier and namespacetheplu127 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/DataLookup2D.h
r675 r680 1 #ifndef _theplu_ classifier_DataLookup2D_2 #define _theplu_ classifier_DataLookup2D_1 #ifndef _theplu_yat_classifier_DataLookup2D_ 2 #define _theplu_yat_classifier_DataLookup2D_ 3 3 4 4 // $Id$ … … 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace classifier { 32 33 … … 165 166 }; 166 167 167 }} // of namespace classifier and namespacetheplu168 }}} // of namespace classifier, yat, and theplu 168 169 169 170 #endif -
trunk/yat/classifier/DataLookupWeighted1D.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/DataLookupWeighted1D.h"25 #include " yat/classifier/MatrixLookupWeighted.h"24 #include "DataLookupWeighted1D.h" 25 #include "MatrixLookupWeighted.h" 26 26 27 27 #include <cassert> … … 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace classifier { 33 34 … … 64 65 65 66 66 }} // of namespace classifier and namespacetheplu67 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/DataLookupWeighted1D.h
r675 r680 1 #ifndef _theplu_ classifier_dataLookup_weighted_1D_2 #define _theplu_ classifier_dataLookup_weighted_1D_1 #ifndef _theplu_yat_classifier_dataLookup_weighted_1D_ 2 #define _theplu_yat_classifier_dataLookup_weighted_1D_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/MatrixLookupWeighted.h"27 #include "MatrixLookupWeighted.h" 28 28 29 29 #include <iostream> … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 … … 119 120 }; 120 121 121 }} // of namespace classifier and namespacetheplu122 }}} // of namespace classifier, yat, and theplu 122 123 123 124 #endif -
trunk/yat/classifier/EnsembleBuilder.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/EnsembleBuilder.h" 25 26 #include "yat/classifier/DataLookup2D.h" 27 #include "yat/classifier/KernelLookup.h" 28 #include "yat/classifier/SubsetGenerator.h" 29 #include "yat/classifier/SupervisedClassifier.h" 30 #include "yat/classifier/Target.h" 31 24 #include "EnsembleBuilder.h" 25 #include "DataLookup2D.h" 26 #include "KernelLookup.h" 27 #include "SubsetGenerator.h" 28 #include "SupervisedClassifier.h" 29 #include "Target.h" 32 30 #include "yat/utility/matrix.h" 33 31 34 32 namespace theplu { 33 namespace yat { 35 34 namespace classifier { 36 35 … … 125 124 } 126 125 127 }} // of namespace classifier and namespacetheplu126 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/EnsembleBuilder.h
r677 r680 1 #ifndef _theplu_ classifier_ensemblebuilder_2 #define _theplu_ classifier_ensemblebuilder_1 #ifndef _theplu_yat_classifier_ensemblebuilder_ 2 #define _theplu_yat_classifier_ensemblebuilder_ 3 3 4 4 // $Id$ … … 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace classifier { 33 34 … … 105 106 }; 106 107 107 }} // of namespace classifier and namespacetheplu108 }}} // of namespace classifier, yat, and theplu 108 109 109 110 #endif -
trunk/yat/classifier/FeatureSelector.cc
r675 r680 23 23 24 24 #include "FeatureSelector.h" 25 26 25 #include "MatrixLookup.h" 27 26 #include "MatrixLookupWeighted.h" … … 30 29 31 30 namespace theplu { 31 namespace yat { 32 32 namespace classifier { 33 33 … … 65 65 } 66 66 67 } // end of namespace classifier 68 } // end of namespace theplu 67 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/FeatureSelector.h
r675 r680 1 #ifndef _theplu_ classifier_featureselector_2 #define _theplu_ classifier_featureselector_1 #ifndef _theplu_yat_classifier_featureselector_ 2 #define _theplu_yat_classifier_featureselector_ 3 3 4 4 // $Id$ … … 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace classifier { 32 33 class MatrixLookup; … … 100 101 }; 101 102 102 } // end of namespace classifier 103 } // end of namespace theplu 103 }}} // of namespace classifier, yat, and theplu 104 104 105 105 #endif -
trunk/yat/classifier/FeatureSelectorIR.cc
r675 r680 23 23 24 24 #include "FeatureSelectorIR.h" 25 26 25 #include "FeatureSelector.h" 27 26 #include "MatrixLookup.h" … … 31 30 32 31 namespace theplu { 32 namespace yat { 33 33 namespace classifier { 34 34 … … 76 76 } 77 77 78 79 } // end of namespace classifier 80 } // end of namespace theplu 78 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/FeatureSelectorIR.h
r675 r680 1 #ifndef _theplu_ classifier_featureselectorir_2 #define _theplu_ classifier_featureselectorir_1 #ifndef _theplu_yat_classifier_featureselectorir_ 2 #define _theplu_yat_classifier_featureselectorir_ 3 3 4 4 // $Id$ … … 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace classifier { 33 34 … … 64 65 }; 65 66 66 } // end of namespace classifier 67 } // end of namespace theplu 67 }}} // of namespace classifier, yat, and theplu 68 68 69 69 #endif -
trunk/yat/classifier/FeatureSelectorRandom.cc
r675 r680 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 … … 69 70 } 70 71 71 72 } // end of namespace classifier 73 } // end of namespace theplu 72 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/FeatureSelectorRandom.h
r675 r680 1 #ifndef _theplu_ classifier_featureselector_random_2 #define _theplu_ classifier_featureselector_random_1 #ifndef _theplu_yat_classifier_featureselector_random_ 2 #define _theplu_yat_classifier_featureselector_random_ 3 3 4 4 // $Id$ … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace classifier { 31 32 … … 64 65 }; 65 66 66 } // end of namespace classifier 67 } // end of namespace theplu 67 }}} // of namespace classifier, yat, and theplu 68 68 69 69 #endif -
trunk/yat/classifier/GaussianKernelFunction.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/GaussianKernelFunction.h" 25 26 #include "yat/classifier/KernelFunction.h" 27 #include "yat/classifier/DataLookup1D.h" 28 #include "yat/classifier/DataLookupWeighted1D.h" 24 #include "GaussianKernelFunction.h" 25 #include "KernelFunction.h" 26 #include "DataLookup1D.h" 27 #include "DataLookupWeighted1D.h" 29 28 30 29 #include <math.h> 31 30 32 31 namespace theplu { 32 namespace yat { 33 33 namespace classifier { 34 34 … … 90 90 91 91 92 }} // of namespace svn and namespacetheplu92 }}} // of namespace svn, yat, and theplu -
trunk/yat/classifier/GaussianKernelFunction.h
r675 r680 1 #ifndef _theplu_ classifier_gaussian_kernel_function_2 #define _theplu_ classifier_gaussian_kernel_function_1 #ifndef _theplu_yat_classifier_gaussian_kernel_function_ 2 #define _theplu_yat_classifier_gaussian_kernel_function_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/KernelFunction.h"28 #include " yat/classifier/DataLookup1D.h"27 #include "KernelFunction.h" 28 #include "DataLookup1D.h" 29 29 30 30 #include <cmath> 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 … … 78 79 }; // class GaussianKernelFunction 79 80 80 }} // of namespace classifier and namespacetheplu81 }}} // of namespace classifier, yat, and theplu 81 82 82 83 #endif -
trunk/yat/classifier/IGP.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/IGP.h" 25 26 #include "yat/classifier/DataLookup1D.h" 27 #include "yat/classifier/MatrixLookup.h" 28 #include "yat/classifier/Target.h" 29 #include "yat/classifier/utility.h" 24 #include "IGP.h" 25 #include "DataLookup1D.h" 26 #include "MatrixLookup.h" 27 #include "Target.h" 28 #include "utility.h" 30 29 #include "yat/utility/vector.h" 31 30 #include "yat/statistics/Distance.h" … … 36 35 37 36 namespace theplu { 37 namespace yat { 38 38 namespace classifier { 39 39 … … 83 83 { 84 84 } 85 86 87 }} // of namespace classifier and namespace theplu 85 86 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/IGP.h
r675 r680 1 #ifndef _theplu_ classifier_igp_2 #define _theplu_ classifier_igp_1 #ifndef _theplu_yat_classifier_igp_ 2 #define _theplu_yat_classifier_igp_ 3 3 4 4 // $Id$ … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 31 32 namespace statistics { … … 71 72 }; 72 73 73 }} // of namespace classifier and namespacetheplu74 }}} // of namespace classifier, yat, and theplu 74 75 75 76 #endif -
trunk/yat/classifier/IRRank.h
r675 r680 1 #ifndef _theplu_ classifier_ir_rank_2 #define _theplu_ classifier_ir_rank_1 #ifndef _theplu_yat_classifier_ir_rank_ 2 #define _theplu_yat_classifier_ir_rank_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/InputRanker.h"28 #include " yat/classifier/IRRetrieve.h"27 #include "InputRanker.h" 28 #include "IRRetrieve.h" 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace classifier { 32 33 … … 50 51 51 52 52 }} // of namespace classifier and namespacetheplu53 }}} // of namespace classifier, yat, and theplu 53 54 54 55 #endif -
trunk/yat/classifier/IRRetrieve.h
r675 r680 1 #ifndef _theplu_ classifier_ir_retrieve_2 #define _theplu_ classifier_ir_retrieve_1 #ifndef _theplu_yat_classifier_ir_retrieve_ 2 #define _theplu_yat_classifier_ir_retrieve_ 3 3 4 4 // $Id$ … … 26 26 27 27 namespace theplu { 28 namespace yat { 28 29 namespace classifier { 29 30 … … 51 52 52 53 53 }} // of namespace classifier and namespacetheplu54 }}} // of namespace classifier, yat, and theplu 54 55 55 56 #endif -
trunk/yat/classifier/IRScore.h
r675 r680 1 #ifndef _theplu_ classifier_ir_score_2 #define _theplu_ classifier_ir_score_1 #ifndef _theplu_yat_classifier_ir_score_ 2 #define _theplu_yat_classifier_ir_score_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/InputRanker.h"27 #include "InputRanker.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace classifier { 31 32 … … 49 50 50 51 51 }} // of namespace classifier and namespacetheplu52 }}} // of namespace classifier, yat, and theplu 52 53 53 54 #endif -
trunk/yat/classifier/InputRanker.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/InputRanker.h" 25 26 #include "yat/classifier/MatrixLookup.h" 27 #include "yat/classifier/MatrixLookupWeighted.h" 28 #include "yat/classifier/DataLookup1D.h" 29 #include "yat/classifier/DataLookupWeighted1D.h" 30 #include "yat/classifier/Target.h" 24 #include "InputRanker.h" 25 #include "MatrixLookup.h" 26 #include "MatrixLookupWeighted.h" 27 #include "DataLookup1D.h" 28 #include "DataLookupWeighted1D.h" 29 #include "Target.h" 31 30 #include "yat/statistics/ROC.h" 32 31 #include "yat/utility/stl_utility.h" 33 32 33 #include <cmath> 34 34 #include <functional> 35 35 #include <utility> 36 36 #include <vector> 37 37 38 #include <cmath>39 40 38 namespace theplu { 39 namespace yat { 41 40 namespace classifier { 42 41 … … 99 98 100 99 101 }} // of namespace classifier and namespacetheplu100 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/InputRanker.h
r675 r680 1 #ifndef _theplu_ classifier_inputranker_2 #define _theplu_ classifier_inputranker_1 #ifndef _theplu_yat_classifier_inputranker_ 2 #define _theplu_yat_classifier_inputranker_ 3 3 4 4 // $Id$ … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace statistics { 31 32 class Score; … … 93 94 94 95 95 }} // of namespace classifier and namespacetheplu96 }}} // of namespace classifier, yat, and theplu 96 97 97 98 #endif -
trunk/yat/classifier/Kernel.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/Kernel.h" 25 26 #include "yat/classifier/DataLookup1D.h" 27 #include "yat/classifier/DataLookupWeighted1D.h" 28 #include "yat/classifier/KernelFunction.h" 29 #include "yat/classifier/MatrixLookup.h" 24 #include "Kernel.h" 25 #include "DataLookup1D.h" 26 #include "DataLookupWeighted1D.h" 27 #include "KernelFunction.h" 28 #include "MatrixLookup.h" 30 29 31 30 #include <vector> 32 31 33 32 namespace theplu { 33 namespace yat { 34 34 namespace classifier { 35 35 … … 107 107 } 108 108 109 }} // of namespace classifier and namespacetheplu109 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/Kernel.h
r675 r680 1 #ifndef _theplu_ classifier_kernel_2 #define _theplu_ classifier_kernel_1 #ifndef _theplu_yat_classifier_kernel_ 2 #define _theplu_yat_classifier_kernel_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/DataLookup2D.h"28 #include " yat/classifier/KernelFunction.h"29 #include " yat/classifier/MatrixLookupWeighted.h"27 #include "DataLookup2D.h" 28 #include "KernelFunction.h" 29 #include "MatrixLookupWeighted.h" 30 30 31 31 #include <cctype> … … 33 33 34 34 namespace theplu { 35 namespace yat { 35 36 namespace classifier { 36 37 … … 198 199 }; // class Kernel 199 200 200 }} // of namespace classifier and namespacetheplu201 }}} // of namespace classifier, yat, and theplu 201 202 202 203 #endif -
trunk/yat/classifier/KernelFunction.h
r675 r680 1 #ifndef _theplu_ classifier_kernel_function_2 #define _theplu_ classifier_kernel_function_1 #ifndef _theplu_yat_classifier_kernel_function_ 2 #define _theplu_yat_classifier_kernel_function_ 3 3 4 4 // $Id$ … … 26 26 27 27 namespace theplu { 28 namespace yat { 28 29 namespace classifier { 29 30 class DataLookup1D; … … 74 75 }; // class KernelFunction 75 76 76 }} // of namespace classifier and namespacetheplu77 }}} // of namespace classifier, yat, and theplu 77 78 78 79 #endif -
trunk/yat/classifier/KernelLookup.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/KernelLookup.h" 25 #include "yat/classifier/DataLookup2D.h" 26 #include "yat/classifier/MatrixLookup.h" 27 #include "yat/classifier/MatrixLookupWeighted.h" 28 24 #include "KernelLookup.h" 25 #include "DataLookup2D.h" 26 #include "MatrixLookup.h" 27 #include "MatrixLookupWeighted.h" 29 28 30 29 #include <cassert> … … 34 33 35 34 namespace theplu { 35 namespace yat { 36 36 namespace classifier { 37 37 … … 263 263 } 264 264 265 }} // of namespace classifier and namespacetheplu265 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/KernelLookup.h
r675 r680 1 #ifndef _theplu_ classifier_kernel_lookup_2 #define _theplu_ classifier_kernel_lookup_1 #ifndef _theplu_yat_classifier_kernel_lookup_ 2 #define _theplu_yat_classifier_kernel_lookup_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/Kernel.h"28 #include " yat/classifier/DataLookup2D.h"29 #include " yat/classifier/MatrixLookup.h"27 #include "Kernel.h" 28 #include "DataLookup2D.h" 29 #include "MatrixLookup.h" 30 30 31 31 #include <vector> 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace classifier { 35 36 … … 275 276 }; // class KernelLookup 276 277 277 }} // of namespace classifier and namespacetheplu278 }}} // of namespace classifier, yat, and theplu 278 279 279 280 #endif -
trunk/yat/classifier/Kernel_MEV.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/Kernel_MEV.h" 25 26 #include "yat/classifier/DataLookup1D.h" 27 #include "yat/classifier/DataLookupWeighted1D.h" 24 #include "Kernel_MEV.h" 25 #include "DataLookup1D.h" 26 #include "DataLookupWeighted1D.h" 28 27 29 28 namespace theplu { 29 namespace yat { 30 30 namespace classifier { 31 31 … … 83 83 84 84 85 }} // of namespace classifier and namespacetheplu85 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/Kernel_MEV.h
r675 r680 1 #ifndef _theplu_ classifier_kernel_mev_2 #define _theplu_ classifier_kernel_mev_1 #ifndef _theplu_yat_classifier_kernel_mev_ 2 #define _theplu_yat_classifier_kernel_mev_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/DataLookup1D.h"28 #include " yat/classifier/Kernel.h"29 #include " yat/classifier/KernelFunction.h"27 #include "DataLookup1D.h" 28 #include "Kernel.h" 29 #include "KernelFunction.h" 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace classifier { 33 34 class MatrixLookup; … … 123 124 }; // class Kernel_MEV 124 125 125 }} // of namespace classifier and namespacetheplu126 }}} // of namespace classifier, yat, and theplu 126 127 127 128 #endif -
trunk/yat/classifier/Kernel_SEV.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/Kernel_SEV.h" 25 26 #include "yat/classifier/DataLookup1D.h" 27 #include "yat/classifier/DataLookupWeighted1D.h" 28 #include "yat/classifier/Kernel.h" 29 #include "yat/classifier/KernelFunction.h" 30 #include "yat/classifier/MatrixLookup.h" 24 #include "Kernel_SEV.h" 25 #include "DataLookup1D.h" 26 #include "DataLookupWeighted1D.h" 27 #include "Kernel.h" 28 #include "KernelFunction.h" 29 #include "MatrixLookup.h" 31 30 #include "yat/utility/matrix.h" 32 31 33 32 namespace theplu { 33 namespace yat { 34 34 namespace classifier { 35 35 … … 100 100 101 101 102 }} // of namespace classifier and namespacetheplu102 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/Kernel_SEV.h
r675 r680 1 #ifndef _theplu_ classifier_kernel_sev_2 #define _theplu_ classifier_kernel_sev_1 #ifndef _theplu_yat_classifier_kernel_sev_ 2 #define _theplu_yat_classifier_kernel_sev_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/Kernel.h"27 #include "Kernel.h" 28 28 #include "yat/utility/matrix.h" 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace classifier { 32 33 … … 119 120 }; // class Kernel_SEV 120 121 121 }} // of namespace classifier and namespacetheplu122 }}} // of namespace classifier, yat, and theplu 122 123 123 124 #endif -
trunk/yat/classifier/MatrixLookup.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/MatrixLookup.h" 25 24 #include "MatrixLookup.h" 26 25 #include "yat/utility/matrix.h" 27 26 … … 33 32 34 33 namespace theplu { 34 namespace yat { 35 35 namespace classifier { 36 36 … … 223 223 224 224 225 }} // of namespace classifier and namespacetheplu225 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/MatrixLookup.h
r675 r680 1 #ifndef _theplu_ classifier_matrix_lookup_2 #define _theplu_ classifier_matrix_lookup_1 #ifndef _theplu_yat_classifier_matrix_lookup_ 2 #define _theplu_yat_classifier_matrix_lookup_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/DataLookup2D.h"27 #include "DataLookup2D.h" 28 28 #include "yat/utility/matrix.h" 29 29 … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 36 35 37 36 /// … … 257 256 std::ostream& operator<< (std::ostream& s, const MatrixLookup&); 258 257 259 }} // of namespace classifier and namespacetheplu258 }}} // of namespace classifier, yat, and theplu 260 259 261 260 #endif -
trunk/yat/classifier/MatrixLookupWeighted.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/MatrixLookupWeighted.h" 25 24 #include "MatrixLookupWeighted.h" 26 25 #include "yat/utility/matrix.h" 27 26 … … 33 32 34 33 namespace theplu { 34 namespace yat { 35 35 namespace classifier { 36 36 … … 302 302 303 303 304 }} // of namespace classifier and namespacetheplu304 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/MatrixLookupWeighted.h
r675 r680 1 #ifndef _theplu_ classifier_matrix_lookup_weighted_2 #define _theplu_ classifier_matrix_lookup_weighted_1 #ifndef _theplu_yat_classifier_matrix_lookup_weighted_ 2 #define _theplu_yat_classifier_matrix_lookup_weighted_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/DataLookup2D.h"27 #include "DataLookup2D.h" 28 28 #include "yat/utility/matrix.h" 29 29 … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 35 36 36 /// 37 37 /// A MatrixLookupWeighted is very similar to a MatrixLookup, but … … 290 290 std::ostream& operator<< (std::ostream& s, const MatrixLookupWeighted&); 291 291 292 }} // of namespace classifier and namespacetheplu292 }}} // of namespace classifier, yat, and theplu 293 293 294 294 #endif -
trunk/yat/classifier/NBC.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/NBC.h" 25 26 #include "yat/classifier/DataLookup2D.h" 27 #include "yat/classifier/MatrixLookup.h" 28 #include "yat/classifier/MatrixLookupWeighted.h" 29 #include "yat/classifier/Target.h" 24 #include "NBC.h" 25 #include "DataLookup2D.h" 26 #include "MatrixLookup.h" 27 #include "MatrixLookupWeighted.h" 28 #include "Target.h" 30 29 #include "yat/statistics/AveragerWeighted.h" 31 30 #include "yat/utility/matrix.h" … … 34 33 35 34 namespace theplu { 35 namespace yat { 36 36 namespace classifier { 37 37 … … 100 100 101 101 102 }} // of namespace classifier and namespacetheplu102 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/NBC.h
r675 r680 1 #ifndef _theplu_ classifier_nbc_2 #define _theplu_ classifier_nbc_1 #ifndef _theplu_yat_classifier_nbc_ 2 #define _theplu_yat_classifier_nbc_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/SupervisedClassifier.h"27 #include "SupervisedClassifier.h" 28 28 #include "yat/utility/matrix.h" 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace classifier { 32 33 … … 84 85 }; 85 86 86 }} // of namespace classifier and namespacetheplu87 }}} // of namespace classifier, yat, and theplu 87 88 88 89 #endif -
trunk/yat/classifier/NCC.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/NCC.h" 25 26 #include "yat/classifier/DataLookup1D.h" 27 #include "yat/classifier/DataLookup2D.h" 28 #include "yat/classifier/MatrixLookup.h" 29 #include "yat/classifier/MatrixLookupWeighted.h" 30 #include "yat/classifier/Target.h" 24 #include "NCC.h" 25 #include "DataLookup1D.h" 26 #include "DataLookup2D.h" 27 #include "MatrixLookup.h" 28 #include "MatrixLookupWeighted.h" 29 #include "Target.h" 31 30 #include "yat/utility/matrix.h" 32 31 #include "yat/utility/vector.h" … … 40 39 41 40 namespace theplu { 41 namespace yat { 42 42 namespace classifier { 43 43 … … 165 165 // } 166 166 167 }} // of namespace classifier and namespacetheplu167 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/NCC.h
r675 r680 1 #ifndef _theplu_ classifier_ncc_2 #define _theplu_ classifier_ncc_1 #ifndef _theplu_yat_classifier_ncc_ 2 #define _theplu_yat_classifier_ncc_ 3 3 4 4 // $Id$ … … 26 26 27 27 #include "yat/utility/matrix.h" 28 29 #include "yat/classifier/SupervisedClassifier.h" 28 #include "SupervisedClassifier.h" 30 29 31 30 #include <map> 32 31 33 32 namespace theplu { 33 namespace yat { 34 34 35 35 namespace utlitity { … … 114 114 115 115 116 }} // of namespace classifier and namespacetheplu116 }}} // of namespace classifier, yat, and theplu 117 117 118 118 #endif -
trunk/yat/classifier/PolynomialKernelFunction.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/PolynomialKernelFunction.h" 25 #include "yat/classifier/DataLookup1D.h" 26 #include "yat/classifier/DataLookupWeighted1D.h" 27 24 #include "PolynomialKernelFunction.h" 25 #include "DataLookup1D.h" 26 #include "DataLookupWeighted1D.h" 28 27 #include "yat/statistics/AveragerPairWeighted.h" 29 28 30 29 #include <cmath> 31 30 32 33 31 namespace theplu { 32 namespace yat { 34 33 namespace classifier { 35 34 … … 72 71 73 72 74 }} // of namespace cpptools and namespacetheplu73 }}} // of namespace cpptools, yat, and theplu -
trunk/yat/classifier/PolynomialKernelFunction.h
r675 r680 1 #ifndef _theplu_ classifier_polynomial_kernel_function_2 #define _theplu_ classifier_polynomial_kernel_function_1 #ifndef _theplu_yat_classifier_polynomial_kernel_function_ 2 #define _theplu_yat_classifier_polynomial_kernel_function_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include "yat/classifier/KernelFunction.h" 28 #include "yat/classifier/DataLookup1D.h" 29 27 #include "KernelFunction.h" 28 #include "DataLookup1D.h" 30 29 31 30 #include <cmath> 32 31 33 34 32 namespace theplu { 33 namespace yat { 35 34 namespace classifier { 36 35 … … 86 85 }; // class PolynomialKernelFunction 87 86 88 }} // of namespace classifier and namespacetheplu87 }}} // of namespace classifier, yat, and theplu 89 88 90 89 #endif -
trunk/yat/classifier/SVM.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/SVM.h" 25 26 #include "yat/classifier/DataLookup2D.h" 24 #include "SVM.h" 25 #include "DataLookup2D.h" 27 26 #include "yat/random/random.h" 28 27 #include "yat/statistics/Averager.h" … … 38 37 #include <vector> 39 38 40 41 39 namespace theplu { 40 namespace yat { 42 41 namespace classifier { 43 42 … … 240 239 241 240 242 bool SVM::choose(const theplu:: utility::vector& E)241 bool SVM::choose(const theplu::yat::utility::vector& E) 243 242 { 244 243 // First check for violation among SVs … … 374 373 375 374 376 }} // of namespace classifier and namespacetheplu375 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/SVM.h
r675 r680 1 #ifndef _theplu_ classifier_svm_2 #define _theplu_ classifier_svm_1 #ifndef _theplu_yat_classifier_svm_ 2 #define _theplu_yat_classifier_svm_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/KernelLookup.h"28 #include " yat/classifier/SupervisedClassifier.h"29 #include " yat/classifier/SVindex.h"30 #include " yat/classifier/Target.h"27 #include "KernelLookup.h" 28 #include "SupervisedClassifier.h" 29 #include "SVindex.h" 30 #include "Target.h" 31 31 #include "yat/utility/vector.h" 32 32 … … 34 34 #include <vector> 35 35 36 37 36 namespace theplu { 37 namespace yat { 38 38 namespace classifier { 39 39 … … 107 107 /// @return output 108 108 /// 109 inline const theplu::utility::vector& output(void) const { return output_; } 109 inline const theplu::yat::utility::vector& 110 output(void) const { return output_; } 110 111 111 112 /// … … 192 193 /// can be found 193 194 /// 194 bool choose(const theplu:: utility::vector&);195 bool choose(const theplu::yat::utility::vector&); 195 196 196 197 /// … … 217 218 }; 218 219 219 }} // of namespace classifier and namespacetheplu220 }}} // of namespace classifier, yat, and theplu 220 221 221 222 #endif -
trunk/yat/classifier/SVindex.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/SVindex.h" 25 26 #include "yat/classifier/DataLookup2D.h" 24 #include "SVindex.h" 25 #include "DataLookup2D.h" 27 26 #include "yat/random/random.h" 28 27 #include "yat/statistics/Averager.h" … … 38 37 #include <vector> 39 38 40 41 39 namespace theplu { 40 namespace yat { 42 41 namespace classifier { 43 42 … … 158 157 } 159 158 160 }} // of namespace classifier and namespacetheplu159 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/SVindex.h
r675 r680 1 #ifndef _theplu_ classifier_sv_index_2 #define _theplu_ classifier_sv_index_1 #ifndef _theplu_yat_classifier_sv_index_ 2 #define _theplu_yat_classifier_sv_index_ 3 3 4 4 // $Id$ … … 30 30 #include <vector> 31 31 32 33 32 namespace theplu { 33 namespace yat { 34 34 namespace classifier { 35 35 … … 110 110 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 111 111 112 }} // of namespace classifier and namespacetheplu112 }}} // of namespace classifier, yat, and theplu 113 113 114 114 #endif -
trunk/yat/classifier/Sampler.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/Sampler.h"25 #include " yat/classifier/Target.h"24 #include "Sampler.h" 25 #include "Target.h" 26 26 27 27 namespace theplu { 28 namespace yat { 28 29 namespace classifier { 29 30 … … 37 38 } 38 39 39 40 }} // of namespace classifier and namespace theplu 40 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/Sampler.h
r675 r680 1 #ifndef _theplu_ classifier_sampler_2 #define _theplu_ classifier_sampler_1 #ifndef _theplu_yat_classifier_sampler_ 2 #define _theplu_yat_classifier_sampler_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/Target.h"27 #include "Target.h" 28 28 29 29 #include <vector> 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace classifier { 33 34 … … 111 112 }; 112 113 113 }} // of namespace classifier and namespacetheplu114 }}} // of namespace classifier, yat, and theplu 114 115 115 116 #endif -
trunk/yat/classifier/SubsetGenerator.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/SubsetGenerator.h"25 #include " yat/classifier/DataLookup2D.h"26 #include " yat/classifier/FeatureSelector.h"27 #include " yat/classifier/KernelLookup.h"28 #include " yat/classifier/MatrixLookup.h"29 #include " yat/classifier/MatrixLookupWeighted.h"30 #include " yat/classifier/Target.h"24 #include "SubsetGenerator.h" 25 #include "DataLookup2D.h" 26 #include "FeatureSelector.h" 27 #include "KernelLookup.h" 28 #include "MatrixLookup.h" 29 #include "MatrixLookupWeighted.h" 30 #include "Target.h" 31 31 32 32 #include <algorithm> … … 37 37 38 38 namespace theplu { 39 namespace yat { 39 40 namespace classifier { 40 41 … … 206 207 } 207 208 208 }} // of namespace classifier and namespacetheplu209 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/SubsetGenerator.h
r675 r680 1 #ifndef _theplu_ classifier_subset_generator_2 #define _theplu_ classifier_subset_generator_1 #ifndef _theplu_yat_classifier_subset_generator_ 2 #define _theplu_yat_classifier_subset_generator_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/classifier/Target.h"28 #include " yat/classifier/Sampler.h"27 #include "Target.h" 28 #include "Sampler.h" 29 29 30 30 #include <vector> 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace classifier { 34 35 class DataLookup2D; … … 164 165 }; 165 166 166 }} // of namespace classifier and namespacetheplu167 }}} // of namespace classifier, yat, and theplu 167 168 168 169 #endif -
trunk/yat/classifier/SupervisedClassifier.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/SupervisedClassifier.h"25 #include " yat/classifier/InputRanker.h"24 #include "SupervisedClassifier.h" 25 #include "InputRanker.h" 26 26 27 27 namespace theplu { 28 namespace yat { 28 29 namespace classifier { 29 30 … … 33 34 } 34 35 35 SupervisedClassifier::~SupervisedClassifier( )36 SupervisedClassifier::~SupervisedClassifier(void) 36 37 { 37 38 } 38 39 39 40 }} 40 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/SupervisedClassifier.h
r675 r680 1 #ifndef _theplu_ classifier_supervisedclassifier_2 #define _theplu_ classifier_supervisedclassifier_1 #ifndef _theplu_yat_classifier_supervisedclassifier_ 2 #define _theplu_yat_classifier_supervisedclassifier_ 3 3 4 4 // $Id$ … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 31 32 namespace utility { … … 47 48 public: 48 49 /// 49 /// Constructor. Taking a Target object.50 /// @brief Constructor taking a Target object. 50 51 /// 51 52 SupervisedClassifier(const Target&); … … 53 54 54 55 /// 55 /// Destructor56 /// @brief Destructor 56 57 /// 57 virtual ~SupervisedClassifier( );58 virtual ~SupervisedClassifier(void); 58 59 59 60 /// … … 90 91 }; 91 92 92 }} // of namespace classifier and namespacetheplu93 }}} // of namespace classifier, yat, and theplu 93 94 94 95 #endif -
trunk/yat/classifier/Target.cc
r675 r680 22 22 */ 23 23 24 #include " yat/classifier/Target.h"24 #include "Target.h" 25 25 #include "yat/random/random.h" 26 26 #include "yat/utility/stl_utility.h" … … 37 37 38 38 namespace theplu { 39 namespace yat { 39 40 namespace classifier { 40 41 … … 160 161 161 162 162 }} // of namespace classifier and namespacetheplu163 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/Target.h
r675 r680 1 #ifndef _theplu_ classifier_target_2 #define _theplu_ classifier_target_1 #ifndef _theplu_yat_classifier_target_ 2 #define _theplu_yat_classifier_target_ 3 3 4 4 // $Id$ … … 28 28 29 29 #include <cassert> 30 #include <iosfwd> 30 31 #include <map> 31 32 #include <string> 32 33 #include <vector> 33 34 34 #include <iostream>35 36 35 namespace theplu { 36 namespace yat { 37 37 namespace classifier { 38 38 … … 171 171 std::ostream& operator<<(std::ostream&, const Target& ); 172 172 173 }} // of namespace classifier and namespacetheplu173 }}} // of namespace classifier, yat, and theplu 174 174 175 175 #endif -
trunk/yat/classifier/utility.cc
r675 r680 22 22 */ 23 23 24 #include "yat/classifier/utility.h" 25 26 27 #include "yat/classifier/DataLookup1D.h" 24 #include "utility.h" 25 #include "DataLookup1D.h" 28 26 #include "yat/utility/vector.h" 29 27 30 28 31 29 namespace theplu { 30 namespace yat { 32 31 namespace classifier { 33 32 … … 39 38 } 40 39 41 }} // of namespace classifier and namespacetheplu40 }}} // of namespace classifier, yat, and theplu -
trunk/yat/classifier/utility.h
r675 r680 1 #ifndef _theplu_ classifier_utility_2 #define _theplu_ classifier_utility_1 #ifndef _theplu_yat_classifier_utility_ 2 #define _theplu_yat_classifier_utility_ 3 3 4 4 // $Id$ … … 26 26 27 27 namespace theplu { 28 namespace yat { 28 29 29 30 namespace utility { … … 40 41 void convert(const DataLookup1D&, utility::vector&); 41 42 42 43 }} // of namespace classifier and namespace theplu 43 }}} // of namespace classifier, yat, and theplu 44 44 45 45 #endif -
trunk/yat/random/random.cc
r675 r680 22 22 */ 23 23 24 #include " yat/random/random.h"24 #include "random.h" 25 25 #include "yat/statistics/Histogram.h" 26 26 … … 28 28 #include <iostream> 29 29 30 31 30 namespace theplu { 31 namespace yat { 32 32 namespace random { 33 34 33 35 34 RNG* RNG::instance_ = NULL; … … 43 42 44 43 45 46 44 RNG::~RNG(void) 47 45 { … … 50 48 delete instance_; 51 49 } 52 53 50 54 51 … … 70 67 71 68 72 73 69 int RNG::set_state(const RNG_state& state) 74 70 { 75 71 return gsl_rng_memcpy(rng_, state.rng()); 76 72 } 77 78 73 79 74 … … 84 79 85 80 86 87 81 RNG_state::~RNG_state(void) 88 82 { … … 90 84 rng_=NULL; 91 85 } 92 93 86 94 87 … … 103 96 104 97 105 106 98 DiscreteGeneral::~DiscreteGeneral(void) 107 99 { … … 111 103 } 112 104 113 114 }} // of namespace random and namespace theplu 105 }}} // of namespace random, yat, and theplu -
trunk/yat/random/random.h
r675 r680 1 #ifndef _theplu_ random_2 #define _theplu_ random_1 #ifndef _theplu_yat_random_ 2 #define _theplu_yat_random_ 3 3 4 4 // $Id$ … … 33 33 34 34 namespace theplu { 35 namespace yat { 35 36 namespace random { 36 37 … … 545 546 }; 546 547 547 548 }} // of namespace random and namespace theplu 548 }}} // of namespace random, yat, and theplu 549 549 550 550 #endif -
trunk/yat/statistics/Averager.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/Averager.h"24 #include "Averager.h" 25 25 26 26 namespace theplu { 27 namespace statistics{ 28 27 namespace yat { 28 namespace statistics { 29 29 30 Averager::Averager(void) 30 31 : n_(0), x_(0), xx_(0) … … 36 37 { 37 38 } 38 39 39 40 Averager::Averager(const Averager& a) 40 41 : n_(a.n_), x_(a.x_), xx_(a.xx_) 41 42 { 42 43 } 43 44 44 45 const Averager& Averager::operator+=(const Averager& a) 45 46 { … … 50 51 } 51 52 52 53 }} // of namespace statistics and namespace theplu 53 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/Averager.h
r675 r680 1 #ifndef _theplu_ statistics_averager_2 #define _theplu_ statistics_averager_1 #ifndef _theplu_yat_statistics_averager_ 2 #define _theplu_yat_statistics_averager_ 3 3 4 4 // $Id$ … … 29 29 30 30 namespace theplu{ 31 namespace yat{ 32 namespace statistics{ 31 33 32 namespace statistics{33 34 class ostream; 34 35 … … 193 194 } 194 195 195 196 }} // of namespace statistics and namespace theplu 196 }}} // of namespace statistics, yat, and theplu 197 197 198 198 #endif -
trunk/yat/statistics/AveragerPair.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/AveragerPair.h"25 #include " yat/statistics/Averager.h"24 #include "AveragerPair.h" 25 #include "Averager.h" 26 26 27 27 #include <cassert> … … 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace statistics{ 32 33 33 34 34 const AveragerPair& AveragerPair::operator+=(const AveragerPair& a) 35 35 { … … 39 39 return *this; 40 40 } 41 42 41 43 }} // of namespace statistics and namespacetheplu42 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/AveragerPair.h
r675 r680 1 #ifndef _theplu_ statistics_averagerpair_2 #define _theplu_ statistics_averagerpair_1 #ifndef _theplu_yat_statistics_averagerpair_ 2 #define _theplu_yat_statistics_averagerpair_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Averager.h"27 #include "Averager.h" 28 28 29 29 #include <cassert> … … 31 31 #include <utility> 32 32 33 34 33 namespace theplu{ 34 namespace yat{ 35 35 namespace statistics{ 36 36 … … 183 183 184 184 185 }} // of namespace statistics and namespacetheplu185 }}} // of namespace statistics, yat, and theplu 186 186 187 187 #endif -
trunk/yat/statistics/AveragerPairWeighted.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/AveragerPairWeighted.h"25 #include " yat/statistics/AveragerPair.h"26 #include " yat/statistics/Averager.h"24 #include "AveragerPairWeighted.h" 25 #include "AveragerPair.h" 26 #include "Averager.h" 27 27 #include "yat/classifier/DataLookup1D.h" 28 28 #include "yat/classifier/DataLookupWeighted1D.h" … … 32 32 33 33 namespace theplu { 34 namespace statistics{ 34 namespace yat { 35 namespace statistics { 35 36 36 37 … … 66 67 } 67 68 68 }} // of namespace statistics and namespacetheplu69 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/AveragerPairWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_averager_pair_weighted_2 #define _theplu_ statistics_averager_pair_weighted_1 #ifndef _theplu_yat_statistics_averager_pair_weighted_ 2 #define _theplu_yat_statistics_averager_pair_weighted_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/AveragerWeighted.h"27 #include "AveragerWeighted.h" 28 28 29 29 #include <cmath> 30 30 31 32 31 namespace theplu{ 32 namespace yat{ 33 33 namespace classifier{ 34 34 class DataLookup1D; … … 176 176 177 177 178 }} // of namespace statistics and namespacetheplu178 }}} // of namespace statistics, yat and theplu 179 179 180 180 #endif -
trunk/yat/statistics/AveragerWeighted.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/AveragerWeighted.h"24 #include "AveragerWeighted.h" 25 25 26 26 namespace theplu { 27 namespace yat { 27 28 namespace statistics{ 28 29 … … 35 36 36 37 37 }} // of namespace statistics and namespacetheplu38 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/AveragerWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_averager_weighted_2 #define _theplu_ statistics_averager_weighted_1 #ifndef _theplu_yat_statistics_averager_weighted_ 2 #define _theplu_yat_statistics_averager_weighted_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Averager.h"27 #include "Averager.h" 28 28 29 29 #include <cmath> 30 30 31 31 namespace theplu{ 32 namespace yat{ 32 33 namespace statistics{ 33 34 … … 243 244 ///std::ostream& operator<<(std::ostream& s,const AveragerWeighted&); 244 245 245 }} // of namespace statistics and namespacetheplu246 }}} // of namespace statistics, yat and theplu 246 247 247 248 #endif -
trunk/yat/statistics/Distance.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/Distance.h" 25 24 #include "Distance.h" 26 25 #include "yat/classifier/DataLookup1D.h" 27 26 #include "yat/classifier/utility.h" … … 29 28 30 29 namespace theplu{ 30 namespace yat{ 31 31 namespace statistics{ 32 32 … … 59 59 60 60 61 }} // of namespace statistics and namespacetheplu61 }}} // of namespace statistics, yat and theplu 62 62 63 63 -
trunk/yat/statistics/Distance.h
r675 r680 1 #ifndef _theplu_ statistics_distance_2 #define _theplu_ statistics_distance_1 #ifndef _theplu_yat_statistics_distance_ 2 #define _theplu_yat_statistics_distance_ 3 3 4 4 // $Id$ … … 26 26 27 27 namespace theplu{ 28 namespace yat{ 28 29 29 30 namespace utility { … … 94 95 }; 95 96 96 }} // of namespace statistics and namespacetheplu97 }}} // of namespace statistics, yat and theplu 97 98 98 99 #endif -
trunk/yat/statistics/Fisher.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/Fisher.h"25 #include " yat/statistics/Score.h"26 #include " yat/statistics/utility.h"24 #include "Fisher.h" 25 #include "Score.h" 26 #include "utility.h" 27 27 #include "yat/classifier/DataLookupWeighted1D.h" 28 28 #include "yat/classifier/Target.h" … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace statistics { 35 36 … … 223 224 } 224 225 225 }} // of namespace statistics and namespacetheplu226 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/Fisher.h
r675 r680 1 #ifndef _theplu_ statistics_fisher_2 #define _theplu_ statistics_fisher_1 #ifndef _theplu_yat_statistics_fisher_ 2 #define _theplu_yat_statistics_fisher_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Score.h"27 #include "Score.h" 28 28 #include "yat/utility/vector.h" 29 29 … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace statistics { 34 35 /** … … 185 186 }; 186 187 187 }} // of namespace statistics and namespacetheplu188 }}} // of namespace statistics, yat and theplu 188 189 189 190 #endif -
trunk/yat/statistics/FoldChange.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/FoldChange.h"25 #include " yat/statistics/Score.h"26 #include " yat/statistics/Averager.h"27 #include " yat/statistics/AveragerWeighted.h"24 #include "FoldChange.h" 25 #include "Score.h" 26 #include "Averager.h" 27 #include "AveragerWeighted.h" 28 28 #include "yat/classifier/DataLookupWeighted1D.h" 29 29 #include "yat/classifier/Target.h" 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace statistics { 33 34 … … 109 110 } 110 111 111 } // of namespace statistics 112 } // of namespace theplu 112 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/FoldChange.h
r675 r680 1 #ifndef _theplu_ statistics_foldchange_2 #define _theplu_ statistics_foldchange_1 #ifndef _theplu_yat_statistics_foldchange_ 2 #define _theplu_yat_statistics_foldchange_ 3 3 4 4 // $Id$ … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 31 32 class utility::vector; … … 91 92 }; 92 93 93 } // of namespace statistics 94 } // of namespace theplu 94 }}} // of namespace statistics, yat, and theplu 95 95 96 96 #endif -
trunk/yat/statistics/Histogram.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/Histogram.h"24 #include "Histogram.h" 25 25 26 26 #include <cmath> 27 27 #include <fstream> 28 28 29 30 29 namespace theplu { 30 namespace yat { 31 31 namespace statistics { 32 32 … … 135 135 } 136 136 137 }} // of namespace statistics and namespacetheplu137 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/Histogram.h
r675 r680 1 #ifndef _theplu_ statistics_histogram_2 #define _theplu_ statistics_histogram_1 #ifndef _theplu_yat_statistics_histogram_ 2 #define _theplu_yat_statistics_histogram_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/AveragerWeighted.h"27 #include "AveragerWeighted.h" 28 28 29 29 #include <string> 30 30 #include <vector> 31 31 32 33 32 namespace theplu { 33 namespace yat { 34 34 namespace statistics { 35 35 … … 196 196 std::ostream& operator<<(std::ostream& s,const Histogram&); 197 197 198 }} // of namespace statistics and namespacetheplu198 }}} // of namespace statistics, yat and theplu 199 199 200 200 #endif -
trunk/yat/statistics/Kernel.h
r675 r680 1 #ifndef _theplu_ statistics_kernel_2 #define _theplu_ statistics_kernel_1 #ifndef _theplu_yat_statistics_kernel_ 2 #define _theplu_yat_statistics_kernel_ 3 3 4 4 // $Id$ … … 26 26 27 27 namespace theplu { 28 namespace yat { 28 29 namespace statistics { 29 namespace regression {30 namespace regression { 30 31 /// 31 32 /// Abstract Base Class for calculating the weights in a more … … 50 51 }; 51 52 52 } // of namespace regression 53 } // of namespace statistics 54 } // of namespace theplu 53 }}}} // of namespaces regression, statisitcs, yat, and theplu 55 54 56 55 #endif -
trunk/yat/statistics/KernelBox.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/KernelBox.h" 25 #include "yat/statistics/Kernel.h" 24 #include "KernelBox.h" 26 25 27 26 namespace theplu { 27 namespace yat { 28 28 namespace statistics { 29 29 namespace regression { 30 30 31 KernelBox::KernelBox(void) 31 32 : Kernel() … … 41 42 } 42 43 43 } // of namespace regression 44 } // of namespace statistics 45 } // of namespace theplu 46 44 }}}} // of namespaces regression, statisitcs, yat, and theplu -
trunk/yat/statistics/KernelBox.h
r675 r680 1 #ifndef _theplu_ statistics_regression_kernel_box_2 #define _theplu_ statistics_regression_kernel_box_1 #ifndef _theplu_yat_statistics_regression_kernel_box_ 2 #define _theplu_yat_statistics_regression_kernel_box_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Kernel.h"27 #include "Kernel.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace statistics { 31 32 namespace regression{ … … 52 53 }; 53 54 54 } // of namespace regression 55 } // of namespace statistics 56 } // of namespace theplu 55 }}}} // of namespaces regression, statisitcs, yat, and theplu 57 56 58 57 #endif -
trunk/yat/statistics/KernelTriCube.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/KernelTriCube.h"25 #include " yat/statistics/Kernel.h"24 #include "KernelTriCube.h" 25 #include "Kernel.h" 26 26 27 27 #include <cmath> 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace statistics { 31 32 namespace regression { … … 44 45 } 45 46 46 } // of namespace regression 47 } // of namespace statistics 48 } // of namespace theplu 49 47 }}}} // of namespaces regression, statisitcs, yat, and theplu -
trunk/yat/statistics/KernelTriCube.h
r675 r680 1 #ifndef _theplu_ statistics_kernel_tricube_2 #define _theplu_ statistics_kernel_tricube_1 #ifndef _theplu_yat_statistics_kernel_tricube_ 2 #define _theplu_yat_statistics_kernel_tricube_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include "yat/statistics/Kernel.h" 28 27 #include "Kernel.h" 29 28 30 29 namespace theplu { 30 namespace yat { 31 31 namespace statistics { 32 32 namespace regression { … … 53 53 }; 54 54 55 } // of namespace regression 56 } // of namespace statistics 57 } // of namespace theplu 58 55 }}}} // of namespaces regression, statisitcs, yat, and theplu 59 56 60 57 #endif -
trunk/yat/statistics/Linear.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/Linear.h" 25 26 #include "yat/statistics/AveragerPair.h" 24 #include "Linear.h" 25 #include "AveragerPair.h" 27 26 #include "yat/utility/vector.h" 28 27 … … 31 30 32 31 namespace theplu { 32 namespace yat { 33 33 namespace statistics { 34 34 namespace regression { … … 68 68 } 69 69 70 }}} // of namespaces regression, statisitcs and thep70 }}}} // of namespaces regression, statisitcs, yat, and theplu -
trunk/yat/statistics/Linear.h
r675 r680 1 #ifndef _theplu_ statistics_regression_linear_2 #define _theplu_ statistics_regression_linear_1 #ifndef _theplu_yat_statistics_regression_linear_ 2 #define _theplu_yat_statistics_regression_linear_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/OneDimensional.h"27 #include "OneDimensional.h" 28 28 29 29 #include <cmath> 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace utility { 33 34 class vector; … … 121 122 }; 122 123 123 }}} // of namespaces regression, statisitcs andthep124 }}}} // of namespaces regression,, yat statisitcs thep 124 125 125 126 #endif -
trunk/yat/statistics/LinearWeighted.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/LinearWeighted.h" 25 26 #include "yat/statistics/AveragerPairWeighted.h" 24 #include "LinearWeighted.h" 25 #include "AveragerPairWeighted.h" 27 26 #include "yat/utility/vector.h" 28 27 29 28 #include <gsl/gsl_fit.h> 30 29 31 32 30 namespace theplu { 31 namespace yat { 33 32 namespace statistics { 34 33 namespace regression { … … 67 66 68 67 69 }}} // of namespaces regression, statisitcs andthep68 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/LinearWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_regression_linear_weighted_2 #define _theplu_ statistics_regression_linear_weighted_1 #ifndef _theplu_yat_statistics_regression_linear_weighted_ 2 #define _theplu_yat_statistics_regression_linear_weighted_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/OneDimensionalWeighted.h"27 #include "OneDimensionalWeighted.h" 28 28 29 29 #include <cmath> 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace utility { 33 34 class vector; … … 129 130 }; 130 131 131 }}} // of namespaces regression, statisitcs andthep132 }}}} // of namespaces regression,, yat statisitcs thep 132 133 133 134 #endif -
trunk/yat/statistics/Local.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/Local.h" 25 24 #include "Local.h" 25 #include "Kernel.h" 26 #include "OneDimensionalWeighted.h" 26 27 #include "yat/utility/vector.h" 27 #include "yat/statistics/Kernel.h"28 #include "yat/statistics/OneDimensionalWeighted.h"29 28 30 29 #include <algorithm> … … 33 32 34 33 namespace theplu { 34 namespace yat { 35 35 namespace statistics { 36 36 namespace regression { … … 120 120 return os; 121 121 } 122 }}} // of namespaces regression, statisitcs andthep122 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/Local.h
r675 r680 1 #ifndef _theplu_ statistics_regression_local_2 #define _theplu_ statistics_regression_local_1 #ifndef _theplu_yat_statistics_regression_local_ 2 #define _theplu_yat_statistics_regression_local_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Kernel.h"28 #include " yat/statistics/OneDimensionalWeighted.h"27 #include "Kernel.h" 28 #include "OneDimensionalWeighted.h" 29 29 #include "yat/utility/vector.h" 30 30 … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace statistics { 35 36 namespace regression { … … 111 112 112 113 113 }}} // of namespaces regression, statistics andthep114 }}}} // of namespaces regression,, yat statistics thep 114 115 115 116 #endif -
trunk/yat/statistics/Makefile.am
r675 r680 29 29 Distance.cc \ 30 30 Fisher.cc FoldChange.cc \ 31 Histogram.cc Kernel .cc KernelBox.cc KernelTriCube.cc Linear.cc \31 Histogram.cc KernelBox.cc KernelTriCube.cc Linear.cc \ 32 32 LinearWeighted.cc Local.cc \ 33 33 MultiDimensional.cc \ -
trunk/yat/statistics/MultiDimensional.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/MultiDimensional.h"24 #include "MultiDimensional.h" 25 25 #include "yat/utility/matrix.h" 26 26 #include "yat/utility/vector.h" 27 27 28 28 namespace theplu { 29 namespace yat { 29 30 namespace statistics { 30 31 namespace regression { … … 67 68 } 68 69 69 }}} // of namespaces regression, statisitcs andthep70 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/MultiDimensional.h
r675 r680 1 #ifndef _theplu_ statistics_regression_multidimensional_2 #define _theplu_ statistics_regression_multidimensional_1 #ifndef _theplu_yat_statistics_regression_multidimensional_ 2 #define _theplu_yat_statistics_regression_multidimensional_ 3 3 4 4 // $Id$ … … 30 30 #include <gsl/gsl_multifit.h> 31 31 32 33 32 namespace theplu { 33 namespace yat { 34 34 namespace statistics { 35 35 namespace regression { … … 88 88 89 89 90 }}} // of namespaces regression, statisitcs andthep90 }}}} // of namespaces regression,, yat statisitcs thep 91 91 92 92 #endif -
trunk/yat/statistics/MultiDimensionalWeighted.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/MultiDimensionalWeighted.h"24 #include "MultiDimensionalWeighted.h" 25 25 #include "yat/utility/matrix.h" 26 26 #include "yat/utility/vector.h" … … 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace statistics { 32 33 namespace regression { … … 74 75 } 75 76 76 }}} // of namespaces regression, statisitcs andthep77 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/MultiDimensionalWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_regression_multidimensional_weighted_2 #define _theplu_ statistics_regression_multidimensional_weighted_1 #ifndef _theplu_yat_statistics_regression_multidimensional_weighted_ 2 #define _theplu_yat_statistics_regression_multidimensional_weighted_ 3 3 4 4 // $Id$ … … 30 30 #include <gsl/gsl_multifit.h> 31 31 32 33 32 namespace theplu { 33 namespace yat { 34 34 namespace statistics { 35 35 namespace regression { … … 89 89 90 90 91 }}} // of namespaces regression, statisitcs andthep91 }}}} // of namespaces regression,, yat statisitcs thep 92 92 93 93 #endif -
trunk/yat/statistics/Naive.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/Naive.h" 25 26 #include "yat/statistics/Averager.h" 27 #include "yat/statistics/AveragerWeighted.h" 28 #include "yat/statistics/OneDimensional.h" 24 #include "Naive.h" 25 #include "Averager.h" 26 #include "AveragerWeighted.h" 27 #include "OneDimensional.h" 29 28 #include "yat/utility/vector.h" 30 29 … … 32 31 #include <iostream> 33 32 34 35 33 namespace theplu { 34 namespace yat { 36 35 namespace statistics { 37 36 namespace regression { … … 61 60 62 61 63 }}} // of namespaces regression, statisitcs andthep62 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/Naive.h
r675 r680 1 #ifndef _theplu_ statistics_regression_naive_2 #define _theplu_ statistics_regression_naive_1 #ifndef _theplu_yat_statistics_regression_naive_ 2 #define _theplu_yat_statistics_regression_naive_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/OneDimensional.h"27 #include "OneDimensional.h" 28 28 29 29 #include <iostream> … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace utility { 34 35 class vector; … … 93 94 94 95 95 }}} // of namespaces regression, statisitcs andthep96 }}}} // of namespaces regression,, yat statisitcs thep 96 97 97 98 #endif -
trunk/yat/statistics/NaiveWeighted.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/NaiveWeighted.h" 25 26 #include "yat/statistics/AveragerWeighted.h" 27 #include "yat/statistics/OneDimensional.h" 24 #include "NaiveWeighted.h" 25 #include "AveragerWeighted.h" 26 #include "OneDimensional.h" 28 27 #include "yat/utility/vector.h" 29 28 30 31 29 namespace theplu { 30 namespace yat { 32 31 namespace statistics { 33 32 namespace regression { … … 47 46 48 47 49 }}} // of namespaces regression, statisitcs andthep48 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/NaiveWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_regression_naive_weighted_2 #define _theplu_ statistics_regression_naive_weighted_1 #ifndef _theplu_yat_statistics_regression_naive_weighted_ 2 #define _theplu_yat_statistics_regression_naive_weighted_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/OneDimensionalWeighted.h"27 #include "OneDimensionalWeighted.h" 28 28 29 29 #include <cmath> … … 31 31 #include <utility> 32 32 33 34 33 namespace theplu { 34 namespace yat { 35 35 namespace utility { 36 36 class vector; … … 100 100 101 101 102 }}} // of namespaces regression, statisitcs andthep102 }}}} // of namespaces regression,, yat statisitcs thep 103 103 104 104 #endif -
trunk/yat/statistics/OneDimensional.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/OneDimensional.h"24 #include "OneDimensional.h" 25 25 26 26 namespace theplu { 27 namespace yat { 27 28 namespace statistics { 28 29 namespace regression { … … 47 48 } 48 49 49 }}} // of namespaces regression, statisitcs andthep50 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/OneDimensional.h
r675 r680 1 #ifndef _theplu_ statistics_regression_onedimensioanl_2 #define _theplu_ statistics_regression_onedimensioanl_1 #ifndef _theplu_yat_statistics_regression_onedimensioanl_ 2 #define _theplu_yat_statistics_regression_onedimensioanl_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/AveragerPair.h"27 #include "AveragerPair.h" 28 28 29 29 #include <ostream> 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace utility { 33 34 class vector; … … 96 97 }; 97 98 98 }}} // of namespaces regression, statisitcs andthep99 }}}} // of namespaces regression,, yat statisitcs thep 99 100 100 101 #endif -
trunk/yat/statistics/OneDimensionalWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_regression_onedimensioanlweighted_2 #define _theplu_ statistics_regression_onedimensioanlweighted_1 #ifndef _theplu_yat_statistics_regression_onedimensioanlweighted_ 2 #define _theplu_yat_statistics_regression_onedimensioanlweighted_ 3 3 4 4 // $Id$ … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace utility { 31 32 class vector; … … 89 90 }; 90 91 91 }}} // of namespaces regression, statisitcs andthep92 }}}} // of namespaces regression,, yat statisitcs thep 92 93 93 94 #endif -
trunk/yat/statistics/Pearson.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/Pearson.h"25 #include " yat/statistics/AveragerPair.h"26 #include " yat/statistics/AveragerPairWeighted.h"24 #include "Pearson.h" 25 #include "AveragerPair.h" 26 #include "AveragerPairWeighted.h" 27 27 #include "yat/utility/vector.h" 28 28 #include "yat/classifier/DataLookupWeighted1D.h" … … 32 32 #include <gsl/gsl_cdf.h> 33 33 34 35 34 namespace theplu { 35 namespace yat { 36 36 namespace statistics { 37 37 … … 119 119 } 120 120 121 }} // of namespace statistics and namespacetheplu121 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/Pearson.h
r675 r680 1 #ifndef _theplu_ statistics_pearson_2 #define _theplu_ statistics_pearson_1 #ifndef _theplu_yat_statistics_pearson_ 2 #define _theplu_yat_statistics_pearson_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Score.h"27 #include "Score.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace utility { 31 32 class vector; … … 106 107 }; 107 108 108 }} // of namespace statistics and namespacetheplu109 }}} // of namespace statistics, yat and theplu 109 110 110 111 #endif -
trunk/yat/statistics/PearsonDistance.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/PearsonDistance.h" 25 26 #include "yat/statistics/AveragerPair.h" 27 #include "yat/statistics/AveragerPairWeighted.h" 24 #include "PearsonDistance.h" 25 #include "AveragerPair.h" 26 #include "AveragerPairWeighted.h" 28 27 #include "yat/utility/vector.h" 29 28 30 29 namespace theplu{ 30 namespace yat{ 31 31 namespace statistics{ 32 32 … … 53 53 54 54 55 }} // of namespace statistics and namespacetheplu55 }}} // of namespace statistics, yat and theplu 56 56 57 57 -
trunk/yat/statistics/PearsonDistance.h
r675 r680 1 #ifndef _theplu_ statistics_pearson_distance_2 #define _theplu_ statistics_pearson_distance_1 #ifndef _theplu_yat_statistics_pearson_distance_ 2 #define _theplu_yat_statistics_pearson_distance_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Distance.h"27 #include "Distance.h" 28 28 29 29 namespace theplu{ 30 namespace yat{ 30 31 31 32 namespace utility { … … 72 73 }; 73 74 74 }} // of namespace statistics and namespacetheplu75 }}} // of namespace statistics, yat and theplu 75 76 76 77 #endif -
trunk/yat/statistics/Polynomial.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/Polynomial.h"24 #include "Polynomial.h" 25 25 #include "yat/utility/matrix.h" 26 26 #include "yat/utility/vector.h" 27 27 28 28 namespace theplu { 29 namespace yat { 29 30 namespace statistics { 30 31 namespace regression { … … 64 65 } 65 66 66 }}} // of namespaces regression, statisitcs andthep67 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/Polynomial.h
r675 r680 1 #ifndef _theplu_ statistics_regression_polynomial_2 #define _theplu_ statistics_regression_polynomial_1 #ifndef _theplu_yat_statistics_regression_polynomial_ 2 #define _theplu_yat_statistics_regression_polynomial_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include "yat/statistics/OneDimensional.h" 28 #include "yat/statistics/MultiDimensional.h" 29 27 #include "OneDimensional.h" 28 #include "MultiDimensional.h" 30 29 #include "yat/utility/vector.h" 31 30 … … 34 33 #include <cassert> 35 34 36 37 35 namespace theplu { 36 namespace yat { 38 37 namespace statistics { 39 38 namespace regression { … … 90 89 91 90 92 }}} // of namespaces regression, statisitcs andthep91 }}}} // of namespaces regression,, yat statisitcs thep 93 92 94 93 #endif -
trunk/yat/statistics/PolynomialWeighted.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/PolynomialWeighted.h"24 #include "PolynomialWeighted.h" 25 25 #include "yat/utility/matrix.h" 26 26 #include "yat/utility/vector.h" … … 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace statistics { 32 33 namespace regression { … … 71 72 } 72 73 73 }}} // of namespaces regression, statisitcs andthep74 }}}} // of namespaces regression,, yat statisitcs thep -
trunk/yat/statistics/PolynomialWeighted.h
r675 r680 1 #ifndef _theplu_ statistics_regression_polynomial_weighted_2 #define _theplu_ statistics_regression_polynomial_weighted_1 #ifndef _theplu_yat_statistics_regression_polynomial_weighted_ 2 #define _theplu_yat_statistics_regression_polynomial_weighted_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include "yat/statistics/OneDimensionalWeighted.h" 28 #include "yat/statistics/MultiDimensionalWeighted.h" 29 27 #include "OneDimensionalWeighted.h" 28 #include "MultiDimensionalWeighted.h" 30 29 #include "yat/utility/vector.h" 31 30 32 31 #include <cassert> 33 32 34 35 33 namespace theplu { 34 namespace yat { 36 35 namespace statistics { 37 36 namespace regression { … … 93 92 94 93 95 }}} // of namespaces regression, statisitcs andthep94 }}}} // of namespaces regression,, yat statisitcs thep 96 95 97 96 #endif -
trunk/yat/statistics/ROC.cc
r675 r680 22 22 */ 23 23 24 #include "yat/statistics/ROC.h" 25 24 #include "ROC.h" 26 25 #include "yat/classifier/DataLookupWeighted1D.h" 27 26 #include "yat/utility/stl_utility.h" … … 34 33 #include <vector> 35 34 36 37 35 namespace theplu { 36 namespace yat { 38 37 namespace statistics { 39 38 … … 223 222 224 223 225 }} // of namespace statistics and namespacetheplu224 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/ROC.h
r675 r680 1 #ifndef _theplu_ statistics_roc_2 #define _theplu_ statistics_roc_1 #ifndef _theplu_yat_statistics_roc_ 2 #define _theplu_yat_statistics_roc_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include "Score.h" 27 28 #include "yat/classifier/Target.h" 28 #include "yat/statistics/Score.h"29 29 30 30 #include <utility> … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace utility { 35 36 class vector; … … 164 165 165 166 166 }} // of namespace statistics and namespacetheplu167 }}} // of namespace statistics, yat and theplu 167 168 168 169 #endif -
trunk/yat/statistics/SAM.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/SAM.h"25 #include " yat/statistics/Averager.h"26 #include " yat/statistics/AveragerWeighted.h"24 #include "SAM.h" 25 #include "Averager.h" 26 #include "AveragerWeighted.h" 27 27 #include "yat/classifier/DataLookupWeighted1D.h" 28 28 #include "yat/classifier/Target.h" … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace statistics { 35 36 … … 113 114 114 115 115 }} // of namespace statistics and namespacetheplu116 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/SAM.h
r675 r680 1 #ifndef _theplu_ statistics_sam2 #define _theplu_ statistics_sam1 #ifndef _theplu_yat_statistics_sam 2 #define _theplu_yat_statistics_sam 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Score.h"27 #include "Score.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace utility { 31 32 class vector; … … 100 101 }; 101 102 102 }} // of namespace statistics and namespacetheplu103 }}} // of namespace statistics, yat and theplu 103 104 104 105 #endif -
trunk/yat/statistics/SNR.cc
r676 r680 22 22 */ 23 23 24 #include " yat/statistics/SNR.h"25 #include " yat/statistics/Averager.h"26 #include " yat/statistics/AveragerWeighted.h"24 #include "SNR.h" 25 #include "Averager.h" 26 #include "AveragerWeighted.h" 27 27 #include "yat/classifier/DataLookupWeighted1D.h" 28 28 #include "yat/classifier/Target.h" 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace statistics { 32 33 … … 109 110 110 111 111 }} // of namespace statistics and namespacetheplu112 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/SNR.h
r675 r680 1 #ifndef _theplu_ statistics_snr2 #define _theplu_ statistics_snr1 #ifndef _theplu_yat_statistics_snr 2 #define _theplu_yat_statistics_snr 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Score.h"27 #include "Score.h" 28 28 29 29 #include <gsl/gsl_cdf.h> 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace utility { 33 34 class vector; … … 82 83 }; 83 84 84 }} // of namespace statistics and namespacetheplu85 }}} // of namespace statistics, yat and theplu 85 86 86 87 #endif -
trunk/yat/statistics/Score.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/Score.h"24 #include "Score.h" 25 25 26 26 namespace theplu { 27 namespace yat { 27 28 namespace statistics { 28 29 … … 32 33 } 33 34 34 }} // of namespace statistics and namespacetheplu35 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/Score.h
r675 r680 1 #ifndef _theplu_ statistics_score_2 #define _theplu_ statistics_score_1 #ifndef _theplu_yat_statistics_score_ 2 #define _theplu_yat_statistics_score_ 3 3 4 4 // $Id$ … … 35 35 36 36 namespace theplu { 37 namespace yat { 37 38 namespace classifier { 38 39 class Target; … … 150 151 }; // class Score 151 152 152 }} // of namespace statistics and namespacetheplu153 }}} // of namespace statistics, yat and theplu 153 154 154 155 #endif -
trunk/yat/statistics/WilcoxonFoldChange.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/WilcoxonFoldChange.h"25 #include " yat/statistics/utility.h"24 #include "WilcoxonFoldChange.h" 25 #include "utility.h" 26 26 #include "yat/classifier/Target.h" 27 27 … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace statistics { 34 35 … … 38 39 { 39 40 } 40 41 41 42 42 … … 76 76 } 77 77 78 } // of namespace statistics 79 } // of namespace theplu 78 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/WilcoxonFoldChange.h
r675 r680 1 #ifndef _theplu_ statistics_wilcoxonfoldchange_2 #define _theplu_ statistics_wilcoxonfoldchange_1 #ifndef _theplu_yat_statistics_wilcoxonfoldchange_ 2 #define _theplu_yat_statistics_wilcoxonfoldchange_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Score.h"27 #include "Score.h" 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace utility { 31 32 class vector; … … 89 90 /// 90 91 WilcoxonFoldChange& operator=(const WilcoxonFoldChange&); 91 92 92 }; 93 93 94 } // of namespace statistics 95 } // of namespace theplu 94 }}} // of namespace statistics, yat, and theplu 96 95 97 96 #endif -
trunk/yat/statistics/tScore.cc
r676 r680 22 22 */ 23 23 24 #include " yat/statistics/tScore.h"25 #include " yat/statistics/Averager.h"26 #include " yat/statistics/AveragerWeighted.h"24 #include "tScore.h" 25 #include "Averager.h" 26 #include "AveragerWeighted.h" 27 27 #include "yat/classifier/DataLookupWeighted1D.h" 28 28 #include "yat/classifier/Target.h" … … 31 31 #include <cmath> 32 32 33 34 33 namespace theplu { 34 namespace yat { 35 35 namespace statistics { 36 36 … … 122 122 } 123 123 124 125 126 }} // of namespace statistics and namespace theplu 124 }}} // of namespace statistics, yat, and theplu -
trunk/yat/statistics/tScore.h
r675 r680 1 #ifndef _theplu_ statistics_tscore_2 #define _theplu_ statistics_tscore_1 #ifndef _theplu_yat_statistics_tscore_ 2 #define _theplu_yat_statistics_tscore_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/statistics/Score.h"27 #include "Score.h" 28 28 29 29 #include <gsl/gsl_cdf.h> … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace utility { 34 35 class vector; … … 124 125 }; 125 126 126 }} // of namespace statistics and namespacetheplu127 }}} // of namespace statistics, yat and theplu 127 128 128 129 #endif -
trunk/yat/statistics/utility.cc
r675 r680 22 22 */ 23 23 24 #include " yat/statistics/utility.h"24 #include "utility.h" 25 25 26 26 #include <gsl/gsl_randist.h> … … 28 28 29 29 namespace theplu { 30 namespace yat { 30 31 namespace statistics { 31 32 … … 81 82 } 82 83 83 }} // of namespace statistics and namespacetheplu84 }}} // of namespace statistics, yat and theplu -
trunk/yat/statistics/utility.h
r675 r680 1 #ifndef _theplu_ statistics_utility_2 #define _theplu_ statistics_utility_1 #ifndef _theplu_yat_statistics_utility_ 2 #define _theplu_yat_statistics_utility_ 3 3 4 4 // $Id$ … … 35 35 36 36 namespace theplu { 37 namespace yat { 37 38 namespace statistics { 38 39 … … 182 183 183 184 184 }} // of namespace statistics and namespacetheplu185 }}} // of namespace statistics, yat and theplu 185 186 186 187 #endif 187 -
trunk/yat/utility/Alignment.cc
r675 r680 22 22 */ 23 23 24 #include " yat/utility/Alignment.h"25 #include " yat/utility/matrix.h"24 #include "Alignment.h" 25 #include "matrix.h" 26 26 27 27 #include <utility> … … 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace utility { 32 namespace alignment {33 33 34 34 double NeedlemanWunsch(const utility::matrix& s, … … 82 82 } 83 83 84 }}} // of namespace alignment namespace utility and namespacetheplu84 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/Alignment.h
r675 r680 1 #ifndef _theplu_ utility_alignment_2 #define _theplu_ utility_alignment_1 #ifndef _theplu_yat_utility_alignment_ 2 #define _theplu_yat_utility_alignment_ 3 3 4 4 // $Id$ … … 29 29 30 30 namespace theplu { 31 namespace yat { 32 namespace utility { 31 33 32 namespace utility {33 34 class matrix; 34 }35 36 namespace utility {37 namespace alignment {38 35 39 36 /// … … 61 58 const double gap); 62 59 63 }}} // of namespace alignment namespace utility and namespacetheplu60 }}} // of namespace utility, yat and theplu 64 61 65 62 #endif -
trunk/yat/utility/CommandLine.cc
r675 r680 1 // $Id$1 // $Id$ 2 2 3 3 /* … … 35 35 36 36 namespace theplu { 37 namespace yat { 37 38 namespace utility { 38 39 … … 292 293 } 293 294 294 }} // of namespace svm_ensemble and namespacetheplu295 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/CommandLine.h
r679 r680 1 #ifndef _theplu_ utility_commandline_2 #define _theplu_ utility_commandline_1 #ifndef _theplu_yat_utility_commandline_ 2 #define _theplu_yat_utility_commandline_ 3 3 4 4 //$Id$ … … 35 35 36 36 namespace theplu { 37 namespace yat { 37 38 namespace utility { 38 39 … … 248 249 std::list<Option*> options_; 249 250 std::vector<std::string> arguments_; 250 251 251 }; 252 252 253 253 254 }} // end of namespace utility and namespace theplu 255 256 #endif 257 258 259 260 254 }}} // end of namespace utility, yat and theplu 255 256 #endif -
trunk/yat/utility/Exception.h
r675 r680 1 #ifndef _theplu_ utility_exception_2 #define _theplu_ utility_exception_1 #ifndef _theplu_yat_utility_exception_ 2 #define _theplu_yat_utility_exception_ 3 3 4 4 // $Id$ … … 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace utility { 33 34 … … 51 52 52 53 53 }} // of namespace utility and namespacetheplu54 }}} // of namespace utility, yat and theplu 54 55 55 56 #endif -
trunk/yat/utility/FileIO.cc
r675 r680 24 24 */ 25 25 26 #include " yat/utility/FileIO.h"26 #include "FileIO.h" 27 27 28 28 #include <iostream> … … 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace utility { 34 35 … … 56 57 } 57 58 58 }} // of namespace utility and namespacetheplu59 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/FileIO.h
r675 r680 1 #ifndef _theplu_yat_utility_fileio_ 2 #define _theplu_yat_utility_fileio_ 3 1 4 // $Id$ 2 5 … … 24 27 */ 25 28 26 #ifndef _theplu_utility_fileio_27 #define _theplu_utility_fileio_28 29 29 #include <string> 30 30 … … 32 32 33 33 namespace theplu { 34 namespace yat { 34 35 namespace utility { 35 36 … … 71 72 }; 72 73 73 }} // of namespace utility and namespacetheplu74 }}} // of namespace utility, yat and theplu 74 75 75 76 #endif -
trunk/yat/utility/NNI.cc
r675 r680 24 24 */ 25 25 26 #include "yat/utility/NNI.h" 27 28 #include "yat/utility/stl_utility.h" 26 #include "NNI.h" 27 #include "stl_utility.h" 29 28 30 29 #include <algorithm> … … 32 31 #include <fstream> 33 32 34 35 33 namespace theplu { 34 namespace yat { 36 35 namespace utility { 37 36 … … 94 93 95 94 96 }} // of namespace utility and namespacetheplu95 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/NNI.h
r675 r680 1 #ifndef _theplu_ utility_nni_2 #define _theplu_ utility_nni_1 #ifndef _theplu_yat_utility_nni_ 2 #define _theplu_yat_utility_nni_ 3 3 4 4 // $Id$ … … 27 27 */ 28 28 29 #include " yat/utility/matrix.h"29 #include "matrix.h" 30 30 31 31 #include <iostream> … … 34 34 35 35 namespace theplu { 36 namespace yat { 36 37 namespace utility { 37 38 … … 146 147 }; 147 148 148 }} // of namespace utility and namespacetheplu149 }}} // of namespace utility, yat and theplu 149 150 150 151 #endif -
trunk/yat/utility/Option.cc
r675 r680 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace utility { 32 33 … … 60 61 } 61 62 62 } // end of namespace utility 63 } // end of namespace theplu 63 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/Option.h
r675 r680 1 #ifndef _theplu_ utility_option_2 #define _theplu_ utility_option_1 #ifndef _theplu_yat_utility_option_ 2 #define _theplu_yat_utility_option_ 3 3 4 4 // $Id$ … … 27 27 #include <string> 28 28 29 30 29 namespace theplu { 30 namespace yat { 31 31 namespace utility { 32 32 … … 107 107 }; 108 108 109 110 111 112 } // end of namespace utility 113 } // end of namespace theplu 109 }}} // of namespace utility, yat and theplu 114 110 115 111 #endif -
trunk/yat/utility/PCA.cc
r675 r680 22 22 */ 23 23 24 #include " yat/utility/PCA.h"25 #include " yat/utility/SVD.h"24 #include "PCA.h" 25 #include "SVD.h" 26 26 27 27 #include <iostream> … … 30 30 31 31 namespace theplu { 32 namespace yat { 32 33 namespace utility { 33 34 … … 199 200 200 201 201 }} // of namespace utility and namespacetheplu202 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/PCA.h
r675 r680 1 #ifndef _theplu_ utility_pca_2 #define _theplu_ utility_pca_1 #ifndef _theplu_yat_utility_pca_ 2 #define _theplu_yat_utility_pca_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/utility/matrix.h"28 #include " yat/utility/vector.h"27 #include "matrix.h" 28 #include "vector.h" 29 29 30 30 namespace theplu { 31 namespace yat { 31 32 namespace utility { 32 33 … … 135 136 136 137 137 }} // of namespace utility and namespacetheplu138 }}} // of namespace utility, yat and theplu 138 139 139 140 #endif -
trunk/yat/utility/SVD.cc
r675 r680 22 22 */ 23 23 24 #include "yat/utility/SVD.h" 25 24 #include "SVD.h" 26 25 27 26 namespace theplu { 27 namespace yat { 28 28 namespace utility { 29 29 … … 66 66 67 67 68 }} // of namespace utility and namespacetheplu68 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/SVD.h
r675 r680 1 #ifndef _theplu_ utility_svd_2 #define _theplu_ utility_svd_1 #ifndef _theplu_yat_utility_svd_ 2 #define _theplu_yat_utility_svd_ 3 3 4 4 // $Id$ … … 25 25 */ 26 26 27 #include " yat/utility/matrix.h"28 #include " yat/utility/vector.h"27 #include "matrix.h" 28 #include "vector.h" 29 29 30 30 #include <gsl/gsl_linalg.h> 31 31 32 32 namespace theplu { 33 namespace yat { 33 34 namespace utility { 34 35 … … 140 141 }; 141 142 142 }} // of namespace utility and namespacetheplu143 }}} // of namespace utility, yat and theplu 143 144 144 145 #endif -
trunk/yat/utility/WeNNI.cc
r675 r680 24 24 */ 25 25 26 #include "yat/utility/WeNNI.h" 27 28 #include "yat/utility/matrix.h" 29 #include "yat/utility/stl_utility.h" 26 #include "WeNNI.h" 27 #include "matrix.h" 28 #include "stl_utility.h" 30 29 31 30 #include <algorithm> … … 34 33 35 34 namespace theplu { 35 namespace yat { 36 36 namespace utility { 37 37 … … 87 87 88 88 89 }} // of namespace utility and namespacetheplu89 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/WeNNI.h
r675 r680 1 #ifndef _theplu_ utility_wenni_2 #define _theplu_ utility_wenni_1 #ifndef _theplu_yat_utility_wenni_ 2 #define _theplu_yat_utility_wenni_ 3 3 4 4 // $Id$ … … 27 27 */ 28 28 29 #include "yat/utility/NNI.h" 30 31 #include "yat/utility/matrix.h" 29 #include "NNI.h" 30 #include "matrix.h" 32 31 33 32 #include <iostream> 34 33 35 36 37 34 namespace theplu { 35 namespace yat { 38 36 namespace utility { 39 37 … … 76 74 }; 77 75 78 }} // of namespace utility and namespacetheplu76 }}} // of namespace utility, yat and theplu 79 77 80 78 #endif -
trunk/yat/utility/kNNI.cc
r675 r680 24 24 */ 25 25 26 #include " yat/utility/kNNI.h"27 #include " yat/utility/stl_utility.h"26 #include "kNNI.h" 27 #include "stl_utility.h" 28 28 29 29 #include <algorithm> … … 33 33 34 34 namespace theplu { 35 namespace yat { 35 36 namespace utility { 36 37 … … 90 91 91 92 92 }} // of namespace utility and namespacetheplu93 }}} // of namespace utility, yat and theplu -
trunk/yat/utility/kNNI.h
r675 r680 1 #ifndef _theplu_ utility_knni_2 #define _theplu_ utility_knni_1 #ifndef _theplu_yat_utility_knni_ 2 #define _theplu_yat_utility_knni_ 3 3 4 4 // $Id$ … … 27 27 */ 28 28 29 #include " yat/utility/NNI.h"29 #include "NNI.h" 30 30 31 31 #include <iostream> … … 33 33 34 34 namespace theplu { 35 namespace yat { 35 36 namespace utility { 36 37 … … 65 66 }; 66 67 67 }} // of namespace utility and namespacetheplu68 }}} // of namespace utility, yat and theplu 68 69 69 70 #endif -
trunk/yat/utility/matrix.cc
r675 r680 24 24 */ 25 25 26 #include "yat/utility/matrix.h" 27 28 #include "yat/utility/vector.h" 29 #include "yat/utility/stl_utility.h" 30 #include "yat/utility/utility.h" 26 #include "matrix.h" 27 #include "vector.h" 28 #include "stl_utility.h" 29 #include "utility.h" 31 30 32 31 #include <cmath> … … 36 35 #include <gsl/gsl_blas.h> 37 36 38 39 37 namespace theplu { 38 namespace yat { 40 39 namespace utility { 41 40 … … 241 240 242 241 243 }} // of namespace utility and namespacethep242 }}} // of namespace utility, yat and thep -
trunk/yat/utility/matrix.h
r675 r680 1 #ifndef _theplu_ utility_matrix_2 #define _theplu_ utility_matrix_1 #ifndef _theplu_yat_utility_matrix_ 2 #define _theplu_yat_utility_matrix_ 3 3 4 4 // $Id$ … … 28 28 */ 29 29 30 #include " yat/utility/vector.h"31 #include " yat/utility/Exception.h"30 #include "vector.h" 31 #include "Exception.h" 32 32 33 33 #include <gsl/gsl_matrix.h> … … 35 35 36 36 namespace theplu { 37 namespace yat { 37 38 namespace utility { 38 39 … … 463 464 464 465 465 }} // of namespace utility and namespacetheplu466 }}} // of namespace utility, yat and theplu 466 467 467 468 #endif -
trunk/yat/utility/stl_utility.cc
r675 r680 23 23 */ 24 24 25 #include " yat/utility/stl_utility.h"26 #include " yat/utility/utility.h"25 #include "stl_utility.h" 26 #include "utility.h" 27 27 28 28 #include <iostream> … … 33 33 34 34 namespace theplu { 35 namespace yat { 35 36 namespace utility { 36 37 … … 102 103 } 103 104 104 }} // end of namespace utility and namespacethep105 }}} // end of namespace utility, yat and thep -
trunk/yat/utility/stl_utility.h
r675 r680 1 #ifndef _theplu_ utility_stl_utility_2 #define _theplu_ utility_stl_utility_1 #ifndef _theplu_yat_utility_stl_utility_ 2 #define _theplu_yat_utility_stl_utility_ 3 3 4 4 // $Id$ … … 54 54 55 55 namespace theplu { 56 namespace yat { 56 57 namespace utility { 57 58 … … 133 134 134 135 135 }} // of namespace utility and namespacetheplu136 }}} // of namespace utility, yat and theplu 136 137 137 138 #endif -
trunk/yat/utility/utility.cc
r675 r680 23 23 */ 24 24 25 #include "yat/utility/utility.h" 26 25 #include "utility.h" 26 #include "stl_utility.h" 27 #include "vector.h" 27 28 #include "yat/random/random.h" 28 #include "yat/utility/stl_utility.h"29 #include "yat/utility/vector.h"30 29 31 30 #include <sstream> … … 33 32 34 33 namespace theplu { 34 namespace yat { 35 35 namespace utility { 36 36 … … 116 116 117 117 118 }} // end of namespace utility and namespacethep118 }}} // end of namespace utility, yat and thep -
trunk/yat/utility/utility.h
r675 r680 1 #ifndef _theplu_ utility_utility_2 #define _theplu_ utility_utility_1 #ifndef _theplu_yat_utility_utility_ 2 #define _theplu_yat_utility_utility_ 3 3 4 4 // $Id$ … … 29 29 /// @file utility/utility.h 30 30 /// 31 /// Some useful functions are placed here31 /// @brief Some useful functions are placed here 32 32 /// 33 33 … … 37 37 38 38 namespace theplu { 39 namespace yat { 39 40 namespace utility { 40 41 … … 82 83 83 84 84 }} // of namespace utility and namespacetheplu85 }}} // of namespace utility, yat and theplu 85 86 86 87 #endif -
trunk/yat/utility/vector.cc
r675 r680 25 25 */ 26 26 27 #include "yat/utility/vector.h" 28 #include "yat/utility/matrix.h" 29 #include "yat/utility/stl_utility.h" 30 #include "yat/utility/utility.h" 31 27 #include "vector.h" 28 #include "matrix.h" 29 #include "stl_utility.h" 30 #include "utility.h" 32 31 33 32 #include <iostream> … … 36 35 #include <utility> 37 36 38 39 37 namespace theplu { 38 namespace yat { 40 39 namespace utility { 41 40 … … 264 263 265 264 266 }} // of namespace utility and namespacethep265 }}} // of namespace utility, yat and thep -
trunk/yat/utility/vector.h
r675 r680 1 #ifndef _theplu_ utility_vector_2 #define _theplu_ utility_vector_1 #ifndef _theplu_yat_utility_vector_ 2 #define _theplu_yat_utility_vector_ 3 3 4 4 // $Id$ … … 28 28 */ 29 29 30 #include " yat/utility/Exception.h"30 #include "Exception.h" 31 31 32 32 #include <iostream> … … 38 38 39 39 namespace theplu { 40 namespace yat { 40 41 namespace utility { 41 42 … … 490 491 491 492 492 }} // of namespace utility and namespacetheplu493 }}} // of namespace utility, yat and theplu 493 494 494 495 #endif
Note: See TracChangeset
for help on using the changeset viewer.